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 67dba85abc64d5d1d5a6231ee3e42c8eba7233f7
Author: Ben Weidig <[email protected]>
AuthorDate: Sun Feb 8 16:02:29 2026 +0100

    TAP5-2809: Setting java toolchain to 8
---
 buildSrc/src/main/groovy/tapestry.java-convention.gradle | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/buildSrc/src/main/groovy/tapestry.java-convention.gradle 
b/buildSrc/src/main/groovy/tapestry.java-convention.gradle
index d06cbb6ca..2d5e52762 100644
--- a/buildSrc/src/main/groovy/tapestry.java-convention.gradle
+++ b/buildSrc/src/main/groovy/tapestry.java-convention.gradle
@@ -6,8 +6,9 @@ plugins {
 }
 
 java {
-    sourceCompatibility = JavaVersion.VERSION_1_8
-    targetCompatibility = JavaVersion.VERSION_1_8
+    toolchain {
+        languageVersion = JavaLanguageVersion.of(8)
+    }
 
     withSourcesJar()
 }

Reply via email to