Skip to content

Commit bb695fc

Browse files
KengoTODAdemiurg906
authored andcommitted
build: bump up Kotlin to 2.0 stable
Signed-off-by: Kengo TODA <skypencil@gmail.com>
1 parent 7fd76e0 commit bb695fc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
22

33
plugins {
44
java
5-
kotlin("jvm") version "2.0.0-RC2"
5+
kotlin("jvm") version "2.0.0"
66
}
77
group = "org.demiurg906.kotlin.plugin"
88
version = "0.1"
@@ -61,9 +61,9 @@ tasks.test {
6161
}
6262

6363
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")
6767
}
6868
}
6969

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
kotlin.code.style=official
2-
kotlinVersion=2.0.0-RC2
2+
kotlinVersion=2.0.0

plugin-annotations/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
java
3-
kotlin("jvm") version "2.0.0-RC2"
3+
kotlin("jvm") version "2.0.0"
44
}
55

66
group = "ru.itmo.kotlin.plugin"

0 commit comments

Comments
 (0)