diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2020-11-27 14:35:41 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2020-11-27 14:38:45 +0100 |
commit | d673a7ae1004a3ac8185e0ca35b6e25dfd7d9d84 (patch) | |
tree | 7952514104e3999ef0761033902c85528a2557c6 /sw-server/build.gradle.kts | |
parent | Upgrade to Spring Boot 2.4.0 (diff) | |
download | seven-wonders-d673a7ae1004a3ac8185e0ca35b6e25dfd7d9d84.tar.gz seven-wonders-d673a7ae1004a3ac8185e0ca35b6e25dfd7d9d84.tar.bz2 seven-wonders-d673a7ae1004a3ac8185e0ca35b6e25dfd7d9d84.zip |
Use Kotlinx Serialization in Spring Boot instead of Jackson
Diffstat (limited to 'sw-server/build.gradle.kts')
-rw-r--r-- | sw-server/build.gradle.kts | 5 |
1 files changed, 2 insertions, 3 deletions
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 { |