From a0455f9d04465720653c1a0fe137326468acc578 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Thu, 19 Mar 2020 20:08:42 +0100 Subject: Upgrade to Krossbow 0.10.2 and use standard WS (not SockJS) --- sw-client/build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sw-client/build.gradle.kts') diff --git a/sw-client/build.gradle.kts b/sw-client/build.gradle.kts index 1f4996bc..0c21cd36 100644 --- a/sw-client/build.gradle.kts +++ b/sw-client/build.gradle.kts @@ -3,7 +3,7 @@ plugins { id("org.jlleitschuh.gradle.ktlint") } -val krossbowVersion = "0.4.1" +val krossbowVersion = "0.10.2" kotlin { jvm() @@ -15,7 +15,7 @@ kotlin { dependencies { api(project(":sw-common-model")) implementation(kotlin("stdlib-common")) - implementation("org.hildan.krossbow:krossbow-client-metadata:$krossbowVersion") + api("org.hildan.krossbow:krossbow-stomp-kxserialization:$krossbowVersion") } } val commonTest by getting { @@ -27,7 +27,7 @@ kotlin { val jvmMain by getting { dependencies { implementation(kotlin("stdlib-jdk8")) - implementation("org.hildan.krossbow:krossbow-client-jvm:$krossbowVersion") + api("org.hildan.krossbow:krossbow-stomp-kxserialization-jvm:$krossbowVersion") } } val jvmTest by getting { @@ -39,8 +39,8 @@ kotlin { val jsMain by getting { dependencies { implementation(kotlin("stdlib-js")) - implementation("org.hildan.krossbow:krossbow-client-js:$krossbowVersion") - implementation(npm("webstomp-client")) // required by krossbow + api("org.hildan.krossbow:krossbow-stomp-kxserialization-js:$krossbowVersion") + implementation(npm("text-encoding", "0.7.0")) // required by krossbow, because required by kotlinx-io } } val jsTest by getting { -- cgit