diff --git a/build-logic/src/main/kotlin/KotlinAndroidConventionPlugin.kt b/build-logic/src/main/kotlin/KotlinAndroidConventionPlugin.kt index 5826c78a..01682888 100644 --- a/build-logic/src/main/kotlin/KotlinAndroidConventionPlugin.kt +++ b/build-logic/src/main/kotlin/KotlinAndroidConventionPlugin.kt @@ -57,6 +57,9 @@ class KotlinAndroidConventionPlugin : Plugin { freeCompilerArgs.addAll( "-Xcontext-receivers", + // Context receiver is deprecated, but the new context parameters API isn't ready. + // https://youtrack.jetbrains.com/issue/KT-8087/Make-it-possible-to-suppress-warnings-globally-in-compiler-via-command-line-option#focus=Comments-27-10137847.0-0 + "-Xsuppress-warning=CONTEXT_RECEIVERS_DEPRECATED", "-opt-in=kotlin.RequiresOptIn", "-opt-in=kotlin.contracts.ExperimentalContracts", "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi", diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 499cecfe..41106165 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,9 +2,9 @@ # https://developer.android.com/reference/tools/gradle-api gradle-plugin = "8.5.2" # https://kotlinlang.org/docs/releases.html#release-details -kotlin = "2.0.10" +kotlin = "2.0.20" # https://central.sonatype.com/artifact/com.google.devtools.ksp/com.google.devtools.ksp.gradle.plugin/versions -ksp = "2.0.10-1.0.24" +ksp = "2.0.20-1.0.24" # https://developer.android.com/jetpack/compose/bom/bom-mapping compose-bom = "2024.06.00" # https://firebase.google.com/support/release-notes/android