From d673a7ae1004a3ac8185e0ca35b6e25dfd7d9d84 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Fri, 27 Nov 2020 14:35:41 +0100 Subject: Use Kotlinx Serialization in Spring Boot instead of Jackson --- sw-server/build.gradle.kts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sw-server/build.gradle.kts') diff --git a/sw-server/build.gradle.kts b/sw-server/build.gradle.kts index 2e281a12..96990dc7 100644 --- a/sw-server/build.gradle.kts +++ b/sw-server/build.gradle.kts @@ -1,6 +1,7 @@ plugins { kotlin("jvm") kotlin("plugin.spring") + kotlin("plugin.serialization") id("org.springframework.boot") version "2.4.0" } @@ -12,21 +13,19 @@ dependencies { implementation(project(":sw-bot")) implementation(kotlin("reflect")) // required by Spring 5 implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1") implementation("org.springframework.boot:spring-boot-starter-websocket") implementation("org.springframework.boot:spring-boot-starter-security") // required by spring security when using websockets implementation("org.springframework.security:spring-security-messaging") - implementation("com.fasterxml.jackson.module:jackson-module-kotlin") - implementation("ch.qos.logback:logback-classic:1.1.8") testImplementation(kotlin("test")) testImplementation(kotlin("test-junit")) testImplementation(project(":sw-client")) testImplementation("org.springframework.boot:spring-boot-starter-test") - testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin") } tasks.processResources { -- cgit