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/01/25 11:16:26 UTC

(tapestry-5) branch master updated (05506bc57 -> d08788224)

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

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


    from 05506bc57 TAP5-2809: Gradle project setup overhaul
     new 847805f1b TAP5-2809: Gradle 8.14.2 -> 8.14.3
     new 834dccda1 TAP5-2809: Setting java toolchain/release to 11, remove version safeguards
     new d08788224 TAP5-2809: Update dependency version before 5.10 RC

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build.gradle                                       |   8 +++----
 .../main/groovy/tapestry.java-convention.gradle    |   9 +++++--
 gradle/libs.versions.toml                          |  22 ++++++++---------
 gradle/wrapper/gradle-wrapper.jar                  | Bin 43462 -> 43764 bytes
 gradle/wrapper/gradle-wrapper.properties           |   2 +-
 gradlew                                            |  12 ++++++----
 gradlew.bat                                        |  26 +++++++++++----------
 settings.gradle                                    |   5 +---
 tapestry-core/build.gradle                         |   4 +---
 tapestry-javadoc/build.gradle                      |  11 ++++-----
 10 files changed, 49 insertions(+), 50 deletions(-)


(tapestry-5) 01/03: TAP5-2809: Gradle 8.14.2 -> 8.14.3

Posted by be...@apache.org.
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 847805f1b59c2e1a383f113eb08485d94fdb808d
Author: Ben Weidig <be...@netzgut.net>
AuthorDate: Sun Jan 25 12:07:03 2026 +0100

    TAP5-2809: Gradle 8.14.2 -> 8.14.3
---
 gradle/wrapper/gradle-wrapper.jar        | Bin 43462 -> 43764 bytes
 gradle/wrapper/gradle-wrapper.properties |   2 +-
 gradlew                                  |  12 +++++++-----
 gradlew.bat                              |  26 ++++++++++++++------------
 4 files changed, 22 insertions(+), 18 deletions(-)

diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
index d64cd4917..1b33c55ba 100644
Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index ff23a68d7..d4081da47 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
 networkTimeout=10000
 validateDistributionUrl=true
 zipStoreBase=GRADLE_USER_HOME
diff --git a/gradlew b/gradlew
index 1aa94a426..23d15a936 100755
--- a/gradlew
+++ b/gradlew
@@ -15,6 +15,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
+# SPDX-License-Identifier: Apache-2.0
+#
 
 ##############################################################################
 #
@@ -55,7 +57,7 @@
 #       Darwin, MinGW, and NonStop.
 #
 #   (3) This script is generated from the Groovy template
-#       https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
+#       https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
 #       within the Gradle project.
 #
 #       You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,7 @@ done
 # shellcheck disable=SC2034
 APP_BASE_NAME=${0##*/}
 # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
-APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
+APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
 
 # Use the maximum available, or set MAX_FD != -1 to use that value.
 MAX_FD=maximum
@@ -112,7 +114,7 @@ case "$( uname )" in                #(
   NONSTOP* )        nonstop=true ;;
 esac
 
-CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+CLASSPATH="\\\"\\\""
 
 
 # Determine the Java command to use to start the JVM.
@@ -203,7 +205,7 @@ fi
 DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
 
 # Collect all arguments for the java command:
-#   * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
+#   * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
 #     and any embedded shellness will be escaped.
 #   * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
 #     treated as '${Hostname}' itself on the command line.
@@ -211,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
 set -- \
         "-Dorg.gradle.appname=$APP_BASE_NAME" \
         -classpath "$CLASSPATH" \
-        org.gradle.wrapper.GradleWrapperMain \
+        -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
         "$@"
 
 # Stop when "xargs" is not available.
diff --git a/gradlew.bat b/gradlew.bat
index 6689b85be..5eed7ee84 100644
--- a/gradlew.bat
+++ b/gradlew.bat
@@ -13,6 +13,8 @@
 @rem See the License for the specific language governing permissions and
 @rem limitations under the License.
 @rem
+@rem SPDX-License-Identifier: Apache-2.0
+@rem
 
 @if "%DEBUG%"=="" @echo off
 @rem ##########################################################################
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
 %JAVA_EXE% -version >NUL 2>&1
 if %ERRORLEVEL% equ 0 goto execute
 
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
+echo. 1>&2
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
+echo. 1>&2
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2
+echo location of your Java installation. 1>&2
 
 goto fail
 
@@ -57,22 +59,22 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
 
 if exist "%JAVA_EXE%" goto execute
 
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
+echo. 1>&2
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
+echo. 1>&2
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2
+echo location of your Java installation. 1>&2
 
 goto fail
 
 :execute
 @rem Setup the command line
 
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+set CLASSPATH=
 
 
 @rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
 
 :end
 @rem End local scope for the variables with windows NT shell


(tapestry-5) 02/03: TAP5-2809: Setting java toolchain/release to 11, remove version safeguards

Posted by be...@apache.org.
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 834dccda1a80dcd0abc42d17a1a0925c9abaad49
Author: Ben Weidig <be...@netzgut.net>
AuthorDate: Sun Jan 25 12:14:51 2026 +0100

    TAP5-2809: Setting java toolchain/release to 11, remove version safeguards
---
 build.gradle                                             |  8 +++-----
 buildSrc/src/main/groovy/tapestry.java-convention.gradle |  9 +++++++--
 settings.gradle                                          |  5 +----
 tapestry-core/build.gradle                               |  4 +---
 tapestry-javadoc/build.gradle                            | 11 ++++-------
 5 files changed, 16 insertions(+), 21 deletions(-)

diff --git a/build.gradle b/build.gradle
index 5ace0cef1..dbd8b2958 100755
--- a/build.gradle
+++ b/build.gradle
@@ -79,11 +79,9 @@ configurations {
 }
 
 dependencies {
-    if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11)) {
-        javadoc project(':tapestry-javadoc')
-        meta providers.provider {
-            tasks.named('aggregateJavadoc').get().outputs.files
-        }
+    javadoc project(':tapestry-javadoc')
+    meta providers.provider {
+        tasks.named('aggregateJavadoc').get().outputs.files
     }
 
     // From tapestry-ioc:
diff --git a/buildSrc/src/main/groovy/tapestry.java-convention.gradle b/buildSrc/src/main/groovy/tapestry.java-convention.gradle
index d06cbb6ca..c12ccee44 100644
--- a/buildSrc/src/main/groovy/tapestry.java-convention.gradle
+++ b/buildSrc/src/main/groovy/tapestry.java-convention.gradle
@@ -6,12 +6,17 @@ plugins {
 }
 
 java {
-    sourceCompatibility = JavaVersion.VERSION_1_8
-    targetCompatibility = JavaVersion.VERSION_1_8
+    toolchain {
+        languageVersion = JavaLanguageVersion.of(11)
+    }
 
     withSourcesJar()
 }
 
+tasks.withType(JavaCompile).configureEach {
+    options.release = 11
+}
+
 configurations {
     provided
     meta
diff --git a/settings.gradle b/settings.gradle
index 5f4f20356..e043b4671 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -31,6 +31,7 @@ include('plastic',
         'tapestry-core',
         'tapestry-hibernate-core',
         'tapestry-hibernate',
+        'tapestry-javadoc',
         'tapestry-jmx',
         'tapestry-upload',
         'tapestry-beanvalidator',
@@ -54,10 +55,6 @@ include('plastic',
         'tapestry-openapi-viewer',
         'tapestry-rest-jackson')
 
-if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11)) {
-    include('tapestry-javadoc')
-}
-
 if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
     include('tapestry-latest-java-tests', 'tapestry-spring')
 }
diff --git a/tapestry-core/build.gradle b/tapestry-core/build.gradle
index fa3655862..0940740f5 100644
--- a/tapestry-core/build.gradle
+++ b/tapestry-core/build.gradle
@@ -112,9 +112,7 @@ tasks.named('compileTestGroovy') {
 
 test {
     // Needed to have XMLTokenStreamTests.testStreamEncoding() passing on Java 9+
-    if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_9)) {
-        jvmArgs('--add-opens=java.base/java.nio.charset=ALL-UNNAMED')
-    }
+    jvmArgs('--add-opens=java.base/java.nio.charset=ALL-UNNAMED')
 
     // TAP5-2722
     systemProperty 'user.language', 'en'
diff --git a/tapestry-javadoc/build.gradle b/tapestry-javadoc/build.gradle
index 59bd8a2b7..81baba6b0 100644
--- a/tapestry-javadoc/build.gradle
+++ b/tapestry-javadoc/build.gradle
@@ -25,11 +25,8 @@ tasks.withType(JavaCompile).configureEach {
     sourceCompatibility = '11'
     targetCompatibility = '11'
 
-    // Only apply --add-modules if target is not 1.8
-    if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11)) {
-        options.compilerArgs += [
-            '--add-modules',
-            'jdk.compiler'
-        ]
-    }
+    options.compilerArgs += [
+        '--add-modules',
+        'jdk.compiler'
+    ]
 }


(tapestry-5) 03/03: TAP5-2809: Update dependency version before 5.10 RC

Posted by be...@apache.org.
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 d087882249618ff4249a22288636c10f608b30e8
Author: Ben Weidig <be...@netzgut.net>
AuthorDate: Sun Jan 25 12:16:17 2026 +0100

    TAP5-2809: Update dependency version before 5.10 RC
---
 gradle/libs.versions.toml | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index f5c61081f..adb2cdce7 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -19,13 +19,13 @@ jakarta-cdi-api         = "3.0.1"
 # APACHE COMMONS
 
 commons-cli         = "1.10.0"
-commons-codec       = "1.19.0"
+commons-codec       = "1.20.0"
 commons-fileupload2 = "2.0.0-M1"
 commons-httpclient  = "4.5.14"
-commons-io          = "2.20.0"
-commons-lang3       = "3.19.0"
+commons-io          = "2.21.0"
+commons-lang3       = "3.20.0"
 commons-logging     = "1.3.5"
-commons-text        = "1.14.0"
+commons-text        = "1.15.0"
 
 # DATABASE / PERSISTENCE
 
@@ -33,7 +33,7 @@ hibernate           = "5.4.32.Final"
 hibernate-validator = "8.0.1.Final"
 
 hsqldb = "2.7.4"
-h2 = "2.2.224"
+h2 = "2.4.240"
 dbcp = "6.0.32"
 eclipselink = "3.0.4"
 
@@ -48,9 +48,9 @@ antlr = "3.5.3"
 # MISC
 
 xml-apis = "1.4.01"
-groovy = "4.0.28"
+groovy = "4.0.29"
 ant-jsch = "1.10.15"
-guava = "27.0.1-jre"
+guava = "33.5.0-jre"
 jackson = "2.20.0"
 clojure = "1.12.2"
 jaxb-runtime = "2.3.2"
@@ -64,14 +64,14 @@ infinispan-jcache = "9.4.24.Final"
 
 # WEBRESOURCES
 
-closure-compiler       = "v20220502"
-less4j                 = "1.12.0"
-auto-value-annotations = "1.9"
+closure-compiler       = "v20240317"
+less4j                 = "1.17.2"
+auto-value-annotations = "1.11.1"
 rhino                  = "1.7.7.2"
 
 # TESTING
 
-junit5 = "5.14.0"
+junit5 = "5.14.2"
 junit4 = "4.13.2"
 
 testng   = "7.5.1"