Skip to content

Commit

Permalink
Update to JDK 21
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoberg committed Dec 24, 2024
1 parent 88974a9 commit 3b283ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ object Versions {
}

object Java {
val sourceCompatibility = JavaVersion.VERSION_17
val sourceCompatibility = JavaVersion.VERSION_21
val targetCompatibility = sourceCompatibility
val toolchainVersion: JavaLanguageVersion =
JavaLanguageVersion.of(sourceCompatibility.toString())
}

// See https://kotlinlang.org/docs/gradle-compiler-options.html#types-for-compiler-options
object Kotlin {
val jvmTarget = JvmTarget.JVM_17
val jvmTarget = JvmTarget.JVM_21
val languageVersion = KotlinVersion.KOTLIN_2_0
}
}

0 comments on commit 3b283ec

Please sign in to comment.