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 10:07:47 UTC

(tapestry-5) branch javax updated: TAP5-2809: more java-convention/version fixes

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


The following commit(s) were added to refs/heads/javax by this push:
     new 63d44e290 TAP5-2809: more java-convention/version fixes
63d44e290 is described below

commit 63d44e290119f5e8bccc3cd3ebc5c62a5f058d1a
Author: Ben Weidig <be...@netzgut.net>
AuthorDate: Sun Apr 5 12:06:50 2026 +0200

    TAP5-2809: more java-convention/version fixes
---
 buildSrc/src/main/groovy/tapestry.java-convention.gradle | 4 ----
 tapestry-javadoc/build.gradle                            | 5 ++---
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/buildSrc/src/main/groovy/tapestry.java-convention.gradle b/buildSrc/src/main/groovy/tapestry.java-convention.gradle
index 2f48e9991..d06cbb6ca 100644
--- a/buildSrc/src/main/groovy/tapestry.java-convention.gradle
+++ b/buildSrc/src/main/groovy/tapestry.java-convention.gradle
@@ -12,10 +12,6 @@ java {
     withSourcesJar()
 }
 
-tasks.withType(JavaCompile).configureEach {
-    options.release = 8
-}
-
 configurations {
     provided
     meta
diff --git a/tapestry-javadoc/build.gradle b/tapestry-javadoc/build.gradle
index 59bd8a2b7..f755412d9 100644
--- a/tapestry-javadoc/build.gradle
+++ b/tapestry-javadoc/build.gradle
@@ -15,9 +15,8 @@ dependencies {
 }
 
 java {
-    toolchain {
-        languageVersion = JavaLanguageVersion.of(11)
-    }
+    sourceCompatibility = JavaVersion.VERSION_11
+    targetCompatibility = JavaVersion.VERSION_11
 }
 
 tasks.withType(JavaCompile).configureEach {