Skip to content

Commit

Permalink
build: Remove compileJava.options.release
Browse files Browse the repository at this point in the history
The java toolchain is already set to 22.
  • Loading branch information
alvasw committed Oct 9, 2024
1 parent f794301 commit 1d1583a
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,11 @@ repositories {

java {
toolchain {
// We use the Java 22 toolchain to use jpackage to create the binaries.
languageVersion.set(JavaLanguageVersion.of(22))
}
}

tasks {
compileJava {
options.release.set(22)
}

test {
useJUnitPlatform()
}
Expand Down

0 comments on commit 1d1583a

Please sign in to comment.