File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
2
3
3
plugins {
4
4
java
5
- kotlin(" jvm" ) version " 2.0.0-RC2 "
5
+ kotlin(" jvm" ) version " 2.0.0"
6
6
}
7
7
group = " org.demiurg906.kotlin.plugin"
8
8
version = " 0.1"
@@ -61,9 +61,9 @@ tasks.test {
61
61
}
62
62
63
63
tasks.withType<KotlinCompile >().configureEach {
64
- kotlinOptions {
65
- useK2 = true
66
- freeCompilerArgs + = " -opt-in= org.jetbrains.kotlin.compiler.plugin.ExperimentalCompilerApi "
64
+ compilerOptions {
65
+ optIn.add( " org.jetbrains.kotlin.compiler.plugin.ExperimentalCompilerApi " )
66
+ optIn.add( " org.jetbrains.kotlin.ir.symbols.UnsafeDuringIrConstructionAPI " )
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change 1
1
kotlin.code.style =official
2
- kotlinVersion =2.0.0-RC2
2
+ kotlinVersion =2.0.0
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
java
3
- kotlin(" jvm" ) version " 2.0.0-RC2 "
3
+ kotlin(" jvm" ) version " 2.0.0"
4
4
}
5
5
6
6
group = " ru.itmo.kotlin.plugin"
You can’t perform that action at this time.
0 commit comments