Skip to content

Commit 9f6f572

Browse files
committed
Update Kotlin to 1.9.22
1 parent 9e5c657 commit 9f6f572

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotlin = "1.9.21"
2+
kotlin = "1.9.22"
33
kotlinx-coroutines = "1.7.3"
44
android = "7.4.2"
55
androidx-lifecycle = "2.6.2"
@@ -8,8 +8,8 @@ androidx-lifecycle = "2.6.2"
88
androidx-compose = "2023.06.01"
99
androidx-compose-compiler = "1.5.5-dev-k1.9.21-163bb051fe5"
1010
androidx-fragment = "1.6.1"
11-
ksp = "1.9.21-1.0.15"
12-
nativecoroutines = "1.0.0-ALPHA-22"
11+
ksp = "1.9.22-1.0.16"
12+
nativecoroutines = "1.0.0-ALPHA-24"
1313

1414
[libraries]
1515
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }

sample/androidApp/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ kotlin {
4242
jvmToolchain(11)
4343
}
4444

45+
// Ignore Compose Kotlin version compatibility check
46+
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class.java).configureEach {
47+
kotlinOptions {
48+
freeCompilerArgs += listOf("-P", "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true")
49+
}
50+
}
51+
4552
dependencies {
4653
implementation(project(":shared"))
4754
implementation(platform(libs.androidx.compose.bom))

0 commit comments

Comments
 (0)