Skip to content

Commit 718deef

Browse files
committed
downgrading language version to support kotlin 2.1
1 parent c922655 commit 718deef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build-logic/src/main/kotlin/kjwt.multiplatform-library.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,15 @@ kotlin {
1515
allTargets()
1616
configureTests()
1717
explicitApi()
18+
19+
compilerOptions {
20+
languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_2)
21+
apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_2)
22+
}
23+
24+
sourceSets {
25+
all {
26+
languageSettings.optIn("kotlin.time.ExperimentalTime")
27+
}
28+
}
1829
}

0 commit comments

Comments
 (0)