Skip to content

Commit

Permalink
Kotlin 2.0.0-Beta1.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Nov 16, 2023
1 parent 18c3d03 commit 277e3c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import com.google.cloud.tools.jib.gradle.BuildImageTask
import com.netflix.graphql.dgs.codegen.gradle.GenerateJavaTask
import io.gitlab.arturbosch.detekt.Detekt
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion

plugins {
alias(libs.plugins.kotlin.jvm)
Expand Down Expand Up @@ -61,7 +62,7 @@ kotlin {
vendor.set(JvmVendorSpec.AZUL)
}
compilerOptions {
// languageVersion.set(KotlinVersion.KOTLIN_2_0) TODO enable once tests pass with K2
languageVersion.set(KotlinVersion.KOTLIN_1_9) // TODO enable once tests pass with K2
freeCompilerArgs.addAll(
"-opt-in=kotlin.RequiresOptIn",
"-Xjsr305=strict",
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
kotlin = "1.9.20"
kotlin = "2.0.0-Beta1"
spring-boot = "3.1.5"
spring-dependencyManagement = "1.1.3"
jib = "3.4.0"
Expand Down

0 comments on commit 277e3c2

Please sign in to comment.