Skip to content

Commit d8e9897

Browse files
committed
include api version in artifact id
1 parent 54ad8c0 commit d8e9897

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api-model-v1-41/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ publishing {
115115
register(publicationName, MavenPublication::class) {
116116
pom {
117117
name.set("docker-remote-api-model")
118-
description.set("API model for the Docker remote api")
118+
description.set("API model for the Docker remote api v${remoteApiVersion}")
119119
url.set("https://github.com/docker-client/docker-remote-api")
120120
licenses {
121121
license {
@@ -136,7 +136,7 @@ publishing {
136136
url.set("https://github.com/docker-client/docker-remote-api")
137137
}
138138
}
139-
artifactId = "docker-remote-api-model"
139+
artifactId = "docker-remote-api-model-${remoteApiVersion.replace(Regex("\\."), "-")}"
140140
version = artifactVersion
141141
from(components["java"])
142142
artifact(sourcesJar.get())

0 commit comments

Comments
 (0)