Skip to content

Commit

Permalink
Revert to using options.release on JavaCompile tasks instead of toolc…
Browse files Browse the repository at this point in the history
…hains

Signed-off-by: Konstantin Gribov <grossws@gmail.com>
  • Loading branch information
grossws committed Apr 19, 2023
1 parent 3182f11 commit 5b038b2
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,8 @@ dependencies {
testImplementation(libs.getLibrary("quarkus-devtools-testing"))
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}

tasks.withType<JavaCompile>().configureEach {
options.release.set(11)
options.encoding = "UTF-8"
}

Expand Down

0 comments on commit 5b038b2

Please sign in to comment.