Skip to content

Commit 028b040

Browse files
committed
Update Kotlin to 1.8.0-RC2
1 parent 130e930 commit 028b040

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[versions]
2-
kotlin = "1.8.0-RC"
2+
kotlin = "1.8.0-RC2"
33
kotlinx-coroutines = "1.6.4"
44
android = "8.0.0-alpha09"
55
androidx-lifecycle = "2.5.1"
6-
ksp = "1.8.0-RC-1.0.8"
7-
nativecoroutines = "1.0.0-ALPHA-2"
6+
ksp = "1.8.0-RC2-1.0.8"
87

98
# Sample versions
109
androidx-compose = "2022.11.00"
1110
androidx-fragment = "1.5.4"
11+
nativecoroutines = "1.0.0-ALPHA-3"
1212

1313
[libraries]
1414
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
@@ -29,8 +29,8 @@ androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-
2929
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
3030
android-library = { id = "com.android.library", version.ref = "android" }
3131
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
32-
nativecoroutines = { id = "com.rickclephas.kmp.nativecoroutines", version.ref = "nativecoroutines" }
3332

3433
# Sample plugins
3534
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
3635
android-application = { id = "com.android.application", version.ref = "android" }
36+
nativecoroutines = { id = "com.rickclephas.kmp.nativecoroutines", version.ref = "nativecoroutines" }

sample/androidApp/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ android {
3333
}
3434
}
3535

36+
// Ignore Compose Kotlin version compatibility check
37+
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class.java).configureEach {
38+
kotlinOptions {
39+
freeCompilerArgs += listOf("-P", "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true")
40+
}
41+
}
42+
3643
dependencies {
3744
implementation(project(":shared"))
3845
implementation(platform(libs.androidx.compose.bom))

0 commit comments

Comments
 (0)