Skip to content

Commit

Permalink
Change artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso committed Aug 12, 2024
1 parent cbfd9c7 commit d9ffe4e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 6 deletions.
13 changes: 11 additions & 2 deletions ktorfit-converters/call/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,19 @@ licensee {
val enableSigning = project.hasProperty("signingInMemoryKey")

mavenPublishing {

val artifactId =
"ktorfit-converters-call" +
if (libs.versions.ktorVersion
.get()
.startsWith("3.")
) {
"-ktor-" + libs.versions.ktorVersion.get()
} else {
""
}
coordinates(
libs.versions.groupId.get(),
"ktorfit-converters-call",
artifactId,
libs.versions.ktorfitCallConverter.get(),
)
publishToMavenCentral()
Expand Down
13 changes: 11 additions & 2 deletions ktorfit-converters/flow/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,19 @@ licensee {
val enableSigning = project.hasProperty("signingInMemoryKey")

mavenPublishing {

val artifactId =
"ktorfit-converters-flow" +
if (libs.versions.ktorVersion
.get()
.startsWith("3.")
) {
"-ktor-" + libs.versions.ktorVersion.get()
} else {
""
}
coordinates(
libs.versions.groupId.get(),
"ktorfit-converters-flow",
artifactId,
libs.versions.ktorfitFlowConverter.get(),
)
publishToMavenCentral()
Expand Down
13 changes: 11 additions & 2 deletions ktorfit-converters/response/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,19 @@ licensee {
val enableSigning = project.hasProperty("signingInMemoryKey")

mavenPublishing {

val artifactId =
"ktorfit-converters-response" +
if (libs.versions.ktorVersion
.get()
.startsWith("3.")
) {
"-ktor-" + libs.versions.ktorVersion.get()
} else {
""
}
coordinates(
libs.versions.groupId.get(),
"ktorfit-converters-response",
artifactId,
libs.versions.ktorfitResponseConverter.get(),
)
publishToMavenCentral()
Expand Down

0 comments on commit d9ffe4e

Please sign in to comment.