diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-19 20:08:42 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-19 20:09:37 +0100 |
commit | a0455f9d04465720653c1a0fe137326468acc578 (patch) | |
tree | 69883855286494e6a84faf627f27b63a6a57e9ac /sw-client/build.gradle.kts | |
parent | Change deprecated gradle configuration compile() to implementation() (diff) | |
download | seven-wonders-a0455f9d04465720653c1a0fe137326468acc578.tar.gz seven-wonders-a0455f9d04465720653c1a0fe137326468acc578.tar.bz2 seven-wonders-a0455f9d04465720653c1a0fe137326468acc578.zip |
Upgrade to Krossbow 0.10.2 and use standard WS (not SockJS)
Diffstat (limited to 'sw-client/build.gradle.kts')
-rw-r--r-- | sw-client/build.gradle.kts | 10 |
1 files changed, 5 insertions, 5 deletions
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 { |