File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11buildscript {
2- ext. kotlinVersion = ' 2.1.21 '
2+ ext. kotlinVersion = ' 2.2.0 '
33 ext. isCI = System . getenv(' GITHUB_ACTION' )
44 repositories {
55 gradlePluginPortal()
@@ -242,9 +242,12 @@ configure(javaProjects) { subproject ->
242242
243243 tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask ). configureEach {
244244 compilerOptions {
245+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion . KOTLIN_2_2
246+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion . KOTLIN_2_2
245247 jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget . JVM_17
246248 javaParameters = true
247249 allWarningsAsErrors = true
250+ freeCompilerArgs = [ ' -Xannotation-default-target=param-property' ] // Upcoming default, see https://youtrack.jetbrains.com/issue/KT-73255
248251 }
249252 }
250253
You can’t perform that action at this time.
0 commit comments