This is an automated email from the ASF dual-hosted git repository. benw pushed a commit to branch javax in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit abf0174373770828713ff58a9cf7e437d1334b33 Author: Ben Weidig <[email protected]> AuthorDate: Sun Apr 5 10:48:06 2026 +0200 TAP5-2809: java-convention use source/targetCompatibility, not toolchain --- buildSrc/src/main/groovy/tapestry.java-convention.gradle | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/groovy/tapestry.java-convention.gradle b/buildSrc/src/main/groovy/tapestry.java-convention.gradle index 2d5e52762..2f48e9991 100644 --- a/buildSrc/src/main/groovy/tapestry.java-convention.gradle +++ b/buildSrc/src/main/groovy/tapestry.java-convention.gradle @@ -6,13 +6,16 @@ plugins { } java { - toolchain { - languageVersion = JavaLanguageVersion.of(8) - } + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 withSourcesJar() } +tasks.withType(JavaCompile).configureEach { + options.release = 8 +} + configurations { provided meta
