Skip to content

Commit

Permalink
fix: Upgrade to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
DuncanCasteleyn committed Sep 21, 2024
1 parent 7956dd2 commit d048524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ repositories {

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(JavaVersion.VERSION_17.majorVersion))
languageVersion.set(JavaLanguageVersion.of(JavaVersion.VERSION_21.majorVersion))
}
}

Expand All @@ -84,7 +84,7 @@ tasks {
freeCompilerArgs.add("-Xjsr305=strict")
freeCompilerArgs.add("-progressive")

jvmTarget = JvmTarget.JVM_17
jvmTarget = JvmTarget.JVM_21
}
}
withType<Wrapper> {
Expand Down

0 comments on commit d048524

Please sign in to comment.