From 2c57aa480f696c0eef421255863ee27cf1a9b411 Mon Sep 17 00:00:00 2001 From: Jens Klingenberg Date: Sun, 10 Nov 2024 22:54:00 +0100 Subject: [PATCH] Release 2.2.0 --- ktorfit-converters/call/build.gradle.kts | 19 +++---------------- ktorfit-converters/flow/build.gradle.kts | 19 +++---------------- ktorfit-converters/response/build.gradle.kts | 19 +++---------------- 3 files changed, 9 insertions(+), 48 deletions(-) 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) {