Skip to content

Commit

Permalink
Release 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso committed Nov 10, 2024
1 parent c535396 commit 2c57aa4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 48 deletions.
19 changes: 3 additions & 16 deletions ktorfit-converters/call/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@ val enableSigning = project.hasProperty("signingInMemoryKey")

mavenPublishing {
val artifactId =
"ktorfit-converters-call" +
if (libs.versions.ktorVersion
.get()
.startsWith("3.")
) {
"-ktor-" + libs.versions.ktorVersion.get()
} else {
""
}
"ktorfit-converters-call"
coordinates(
libs.versions.groupId.get(),
artifactId,
Expand All @@ -49,13 +41,8 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {

kotlin {
explicitApi()
if (libs.versions.ktorVersion
.get()
.startsWith("3.")
) {
@OptIn(ExperimentalWasmDsl::class)
wasmJs()
}
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
wasmJs()
jvm {
}
js(IR) {
Expand Down
19 changes: 3 additions & 16 deletions ktorfit-converters/flow/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,7 @@ val enableSigning = project.hasProperty("signingInMemoryKey")

mavenPublishing {
val artifactId =
"ktorfit-converters-flow" +
if (libs.versions.ktorVersion
.get()
.startsWith("3.")
) {
"-ktor-" + libs.versions.ktorVersion.get()
} else {
""
}
"ktorfit-converters-flow"
coordinates(
libs.versions.groupId.get(),
artifactId,
Expand All @@ -50,13 +42,8 @@ tasks.withType<KotlinCompile> {

kotlin {
explicitApi()
if (libs.versions.ktorVersion
.get()
.startsWith("3.")
) {
@OptIn(ExperimentalWasmDsl::class)
wasmJs()
}
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
wasmJs()
jvm {
}
js(IR) {
Expand Down
19 changes: 3 additions & 16 deletions ktorfit-converters/response/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,7 @@ val enableSigning = project.hasProperty("signingInMemoryKey")

mavenPublishing {
val artifactId =
"ktorfit-converters-response" +
if (libs.versions.ktorVersion
.get()
.startsWith("3.")
) {
"-ktor-" + libs.versions.ktorVersion.get()
} else {
""
}
"ktorfit-converters-response"
coordinates(
libs.versions.groupId.get(),
artifactId,
Expand All @@ -50,13 +42,8 @@ tasks.withType<KotlinCompile> {

kotlin {
explicitApi()
if (libs.versions.ktorVersion
.get()
.startsWith("3.")
) {
@OptIn(ExperimentalWasmDsl::class)
wasmJs()
}
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
wasmJs()
jvm {
}
js(IR) {
Expand Down

0 comments on commit 2c57aa4

Please sign in to comment.