Skip to content

Commit

Permalink
upgrade Kotlin to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
franckrasolo committed Nov 28, 2024
1 parent 2c63b6d commit 014385f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
import org.gradle.jvm.toolchain.JvmVendorSpec.ADOPTIUM
import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_1_8
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompilerOptions
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_1
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
import java.time.Duration

Expand Down Expand Up @@ -47,8 +47,8 @@ subprojects {
withType<KotlinCompilationTask<KotlinJvmCompilerOptions>>().configureEach {
compilerOptions {
jvmTarget.set(JVM_1_8)
apiVersion.set(KOTLIN_2_0)
languageVersion.set(KOTLIN_2_0)
apiVersion.set(KOTLIN_2_1)
languageVersion.set(KOTLIN_2_1)
allWarningsAsErrors.set(true)
freeCompilerArgs.addAll("-Xjsr305=strict", "-progressive")
}
Expand Down
2 changes: 1 addition & 1 deletion versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#### suppress inspection "SpellCheckingInspection" for whole file
#### suppress inspection "UnusedProperty" for whole file

version.kotlin=2.0.21
version.kotlin=2.1.0

version.kotest=5.9.1

Expand Down

0 comments on commit 014385f

Please sign in to comment.