Skip to content

Commit 75667aa

Browse files
committed
Update apiVersion/languageVersion to 1.9 for atomics implementation.
In order to use new native atomics from kotlin.concurrent package available since Kotlin 1.9, it is required to update apiVersion to 1.9. apiVersion of atomicfu-gradle-plugin is kept equal to 1.4 for compatibility.
1 parent 2036268 commit 75667aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gradle/compile-options.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ ext.configureKotlin = { isMultiplatform ->
1818

1919
kotlin.sourceSets.all {
2020
languageSettings {
21-
apiVersion = KotlinAggregateBuild.getOverriddenKotlinApiVersion(project) ?: "1.4"
22-
languageVersion = KotlinAggregateBuild.getOverriddenKotlinLanguageVersion(project) ?: "1.4"
21+
apiVersion = KotlinAggregateBuild.getOverriddenKotlinApiVersion(project) ?: "1.9"
22+
languageVersion = KotlinAggregateBuild.getOverriddenKotlinLanguageVersion(project) ?: "1.9"
2323
optIn('kotlinx.cinterop.ExperimentalForeignApi')
2424
}
2525
}

0 commit comments

Comments
 (0)