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 1
1
buildscript {
2
- ext. kotlinVersion = ' 2.1.21 '
2
+ ext. kotlinVersion = ' 2.2.0 '
3
3
ext. isCI = System . getenv(' GITHUB_ACTION' )
4
4
repositories {
5
5
gradlePluginPortal()
@@ -242,9 +242,12 @@ configure(javaProjects) { subproject ->
242
242
243
243
tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask ). configureEach {
244
244
compilerOptions {
245
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion . KOTLIN_2_2
246
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion . KOTLIN_2_2
245
247
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget . JVM_17
246
248
javaParameters = true
247
249
allWarningsAsErrors = true
250
+ freeCompilerArgs = [ ' -Xannotation-default-target=param-property' ] // Upcoming default, see https://youtrack.jetbrains.com/issue/KT-73255
248
251
}
249
252
}
250
253
You can’t perform that action at this time.
0 commit comments