From df83c7cb14ee46d73743c1fd053d47a9b0e79e2a Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Thu, 20 Aug 2020 16:05:20 +0200 Subject: Upgrade to Kotlin 1.4 and corresponding library versions - Kotlinx Serialization 1.0.0-RC - Coroutines 1.3.9 - Krossbow 0.30.1 --- sw-client/build.gradle.kts | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'sw-client/build.gradle.kts') diff --git a/sw-client/build.gradle.kts b/sw-client/build.gradle.kts index 8412c25d..8e565745 100644 --- a/sw-client/build.gradle.kts +++ b/sw-client/build.gradle.kts @@ -2,7 +2,7 @@ plugins { kotlin("multiplatform") } -val krossbowVersion = "0.21.1" +val krossbowVersion = "0.30.1" kotlin { jvm() @@ -13,8 +13,8 @@ kotlin { val commonMain by getting { dependencies { api(project(":sw-common-model")) - implementation(kotlin("stdlib-common")) - api("org.hildan.krossbow:krossbow-stomp-kxserialization-metadata:$krossbowVersion") + api("org.hildan.krossbow:krossbow-stomp-kxserialization:$krossbowVersion") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9") } } val commonTest by getting { @@ -23,12 +23,6 @@ kotlin { implementation(kotlin("test-annotations-common")) } } - val jvmMain by getting { - dependencies { - implementation(kotlin("stdlib-jdk8")) - api("org.hildan.krossbow:krossbow-stomp-kxserialization-jvm:$krossbowVersion") - } - } val jvmTest by getting { dependencies { implementation(kotlin("test")) @@ -37,8 +31,6 @@ kotlin { } val jsMain by getting { dependencies { - implementation(kotlin("stdlib-js")) - api("org.hildan.krossbow:krossbow-stomp-kxserialization-js:$krossbowVersion") implementation(npm("text-encoding", "0.7.0")) // required by krossbow, because required by kotlinx-io } } -- cgit