diff --git a/ktorfit-converters/call/build.gradle.kts b/ktorfit-converters/call/build.gradle.kts index 6026ea3f3..1c91adb37 100644 --- a/ktorfit-converters/call/build.gradle.kts +++ b/ktorfit-converters/call/build.gradle.kts @@ -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, @@ -49,13 +41,8 @@ tasks.withType { kotlin { explicitApi() - if (libs.versions.ktorVersion - .get() - .startsWith("3.") - ) { - @OptIn(ExperimentalWasmDsl::class) - wasmJs() - } + @OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class) + wasmJs() jvm { } js(IR) { diff --git a/ktorfit-converters/flow/build.gradle.kts b/ktorfit-converters/flow/build.gradle.kts index 70915565c..d65c6a36d 100644 --- a/ktorfit-converters/flow/build.gradle.kts +++ b/ktorfit-converters/flow/build.gradle.kts @@ -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, @@ -50,13 +42,8 @@ tasks.withType { kotlin { explicitApi() - if (libs.versions.ktorVersion - .get() - .startsWith("3.") - ) { - @OptIn(ExperimentalWasmDsl::class) - wasmJs() - } + @OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class) + wasmJs() jvm { } js(IR) { diff --git a/ktorfit-converters/response/build.gradle.kts b/ktorfit-converters/response/build.gradle.kts index 8e31bde96..52e730584 100644 --- a/ktorfit-converters/response/build.gradle.kts +++ b/ktorfit-converters/response/build.gradle.kts @@ -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, @@ -50,13 +42,8 @@ tasks.withType { kotlin { explicitApi() - if (libs.versions.ktorVersion - .get() - .startsWith("3.") - ) { - @OptIn(ExperimentalWasmDsl::class) - wasmJs() - } + @OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class) + wasmJs() jvm { } js(IR) {