From e1c1e2871332e9b7dfec89d7b5dd0cef459a314a Mon Sep 17 00:00:00 2001 From: Him188 Date: Sun, 8 Nov 2020 11:10:46 +0800 Subject: [PATCH] Update dependencies --- backend/mirai-console/build.gradle.kts | 1 + buildSrc/src/main/kotlin/Versions.kt | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/mirai-console/build.gradle.kts b/backend/mirai-console/build.gradle.kts index 4795a996c..74ff2294a 100644 --- a/backend/mirai-console/build.gradle.kts +++ b/backend/mirai-console/build.gradle.kts @@ -63,6 +63,7 @@ dependencies { compileAndTestRuntime("org.jetbrains.kotlinx:atomicfu:${Versions.atomicFU}") compileAndTestRuntime(kotlinx("coroutines-core", Versions.coroutines)) compileAndTestRuntime(kotlinx("serialization-core", Versions.serialization)) + compileAndTestRuntime(kotlinx("serialization-json", Versions.serialization)) compileAndTestRuntime(kotlin("reflect")) smartImplementation("net.mamoe.yamlkt:yamlkt:${Versions.yamlkt}") diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt index 91701e16c..8768d6a80 100644 --- a/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/src/main/kotlin/Versions.kt @@ -10,7 +10,7 @@ @file:Suppress("MemberVisibilityCanBePrivate") object Versions { - const val core = "1.3.2" + const val core = "1.3.3" const val console = "1.0-RC-1" const val consoleGraphical = "0.0.7" const val consoleTerminal = console @@ -18,8 +18,8 @@ object Versions { const val kotlinCompiler = "1.4.20-RC" const val kotlinStdlib = "1.4.10" - const val coroutines = "1.3.9" - const val serialization = "1.0.0-RC" + const val coroutines = "1.4.0" + const val serialization = "1.0.1" const val ktor = "1.4.1" const val atomicFU = "0.14.4" @@ -28,5 +28,5 @@ object Versions { const val bintray = "1.8.5" const val blockingBridge = "1.4.0" - const val yamlkt = "0.5.3" + const val yamlkt = "0.7.0" } \ No newline at end of file