From daad5ee76b02c9006ea8e0c37f4fb6a5756f94cd Mon Sep 17 00:00:00 2001 From: schlaubi Date: Thu, 27 May 2021 13:59:06 +0200 Subject: [PATCH 1/2] Bump dependencies to Kotlin 1.5.10 - Fix sample code --- buildSrc/src/main/kotlin/Dependencies.kt | 6 +++--- core/src/samples/kotlin/PingBot.kt | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index e3ce8bc60f4..1275e433188 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -1,8 +1,8 @@ object Versions { - const val kotlin = "1.5.0" + const val kotlin = "1.5.10" const val kotlinxSerialization = "1.2.1" - const val ktor = "1.5.3" - const val kotlinxCoroutines = "1.5.0-RC" + const val ktor = "1.5.4" + const val kotlinxCoroutines = "1.5.0" const val kotlinLogging = "2.0.4" const val dateTime = "0.2.0" const val atomicFu = "0.16.1" diff --git a/core/src/samples/kotlin/PingBot.kt b/core/src/samples/kotlin/PingBot.kt index 2582b8c3b66..048abf4e1b5 100644 --- a/core/src/samples/kotlin/PingBot.kt +++ b/core/src/samples/kotlin/PingBot.kt @@ -1,8 +1,4 @@ import dev.kord.core.Kord -import dev.kord.core.behavior.channel.createStageInstance -import dev.kord.core.behavior.channel.getStageInstance -import dev.kord.core.behavior.getChannelOf -import dev.kord.core.entity.channel.StageChannel import dev.kord.core.event.message.MessageCreateEvent import dev.kord.core.on From 9e416fc0111c6d6a5b8f1dcbf82cbb25c4b34e1b Mon Sep 17 00:00:00 2001 From: schlaubi Date: Thu, 27 May 2021 14:15:55 +0200 Subject: [PATCH 2/2] Update remaining dependencies --- buildSrc/src/main/kotlin/Dependencies.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 1275e433188..f10c192525a 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -3,10 +3,10 @@ object Versions { const val kotlinxSerialization = "1.2.1" const val ktor = "1.5.4" const val kotlinxCoroutines = "1.5.0" - const val kotlinLogging = "2.0.4" - const val dateTime = "0.2.0" + const val kotlinLogging = "2.0.6" + const val dateTime = "0.2.1" const val atomicFu = "0.16.1" - const val binaryCompatibilityValidator = "0.4.0" + const val binaryCompatibilityValidator = "0.5.0" //test deps const val kotlinTest = kotlin