You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by be...@apache.org on 2026/04/05 08:58:39 UTC

(tapestry-5) 01/02: TAP5-2809: java-convention use source/targetCompatibility, not toolchain

This is an automated email from the ASF dual-hosted git repository.

benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git

commit 00ba26302fb21f0e5a49760f76833653db270eee
Author: Ben Weidig <be...@netzgut.net>
AuthorDate: Sun Apr 5 10:45:59 2026 +0200

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

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