From 8df9bce1b4ab2e38f1e1180093c51d7fe6ce4405 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Sat, 13 May 2023 23:05:19 +0700 Subject: [PATCH] Upgrade Kotlin 1.8.21 (#9495) --- gradle/compose.versions.toml | 2 +- gradle/kotlinx.versions.toml | 2 +- source-api/build.gradle.kts | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gradle/compose.versions.toml b/gradle/compose.versions.toml index 3a7c7cbf81..16d53ea6be 100644 --- a/gradle/compose.versions.toml +++ b/gradle/compose.versions.toml @@ -1,5 +1,5 @@ [versions] -compiler = "1.4.4" +compiler = "1.4.7" compose-bom = "2023.04.00-alpha02" accompanist = "0.31.2-alpha" diff --git a/gradle/kotlinx.versions.toml b/gradle/kotlinx.versions.toml index 7fd942aff1..f34b266aa9 100644 --- a/gradle/kotlinx.versions.toml +++ b/gradle/kotlinx.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlin_version = "1.8.10" +kotlin_version = "1.8.21" serialization_version = "1.5.0" xml_serialization_version = "0.85.0" diff --git a/source-api/build.gradle.kts b/source-api/build.gradle.kts index 285873f7ed..05e6e791d3 100644 --- a/source-api/build.gradle.kts +++ b/source-api/build.gradle.kts @@ -19,6 +19,10 @@ kotlin { dependencies { implementation(project(":core")) api(libs.preferencektx) + + // Workaround for https://youtrack.jetbrains.com/issue/KT-57605 + implementation(kotlinx.coroutines.android) + implementation(project.dependencies.platform(kotlinx.coroutines.bom)) } } }