diff --git a/devtools/gradle/build-logic/src/main/kotlin/io.quarkus.devtools.java-library.gradle.kts b/devtools/gradle/build-logic/src/main/kotlin/io.quarkus.devtools.java-library.gradle.kts index d2dc255e9ee13..5ad88d8e2ade3 100644 --- a/devtools/gradle/build-logic/src/main/kotlin/io.quarkus.devtools.java-library.gradle.kts +++ b/devtools/gradle/build-logic/src/main/kotlin/io.quarkus.devtools.java-library.gradle.kts @@ -22,13 +22,8 @@ dependencies { testImplementation(libs.getLibrary("quarkus-devtools-testing")) } -java { - toolchain { - languageVersion.set(JavaLanguageVersion.of(11)) - } -} - tasks.withType().configureEach { + options.release.set(11) options.encoding = "UTF-8" }