From d2f97c597c739169ac39e3e07152c1225074c278 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Thu, 31 Oct 2024 14:35:25 +0800 Subject: [PATCH] Update simbot from 4.6.0 to 4.7.0 and add kotlinx-io --- gradle/libs.versions.toml | 6 +++++- simbot-component-telegram-type/build.gradle.kts | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7b4d214..84db796 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,13 +3,14 @@ kotlin = "2.0.20" kotlinx-coroutines = "1.9.0" kotlinx-serialization = "1.7.3" kotlinx-datetime = "0.6.1" +kotlinx-io = "0.5.4" dokka = "1.9.20" ktor = "2.3.12" openjdk-jmh = "1.37" log4j = "2.24.1" reactor = "3.6.11" # simbot -simbot = "4.6.0" +simbot = "4.7.0" suspendTransform = "2.0.20-0.9.3" gradleCommon = "0.6.0" # ksp @@ -64,6 +65,9 @@ kotlinx-serialization-properties = { group = "org.jetbrains.kotlinx", name = "ko # kotlinx-datetime kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "kotlinx-datetime" } +# kotlinx-io +kotlinx-io-core = { module = "org.jetbrains.kotlinx:kotlinx-io-core", version.ref = "kotlinx-io" } + # ktor ktor-serialization-kotlinxJson = { group = "io.ktor", name = "ktor-serialization-kotlinx-json", version.ref = "ktor" } ktor-server-contentNegotiation = { group = "io.ktor", name = "ktor-server-content-negotiation", version.ref = "ktor" } diff --git a/simbot-component-telegram-type/build.gradle.kts b/simbot-component-telegram-type/build.gradle.kts index 05a6523..1741db5 100644 --- a/simbot-component-telegram-type/build.gradle.kts +++ b/simbot-component-telegram-type/build.gradle.kts @@ -19,7 +19,6 @@ import love.forte.gradle.common.core.project.setup import love.forte.gradle.common.kotlin.multiplatform.applyTier1 import love.forte.gradle.common.kotlin.multiplatform.applyTier2 import love.forte.gradle.common.kotlin.multiplatform.applyTier3 -import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl plugins { kotlin("multiplatform") @@ -48,7 +47,7 @@ kotlin { applyTier2() applyTier3() - @OptIn(ExperimentalWasmDsl::class) + @OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class) wasmJs { configWasmJs() }