Author: centic
Date: Sun Jun 7 16:21:54 2026
New Revision: 1935112
Log:
Update Gradle, jacoco and fix some Gradle warnings
Modified:
xmlbeans/trunk/build.gradle
xmlbeans/trunk/gradle/wrapper/gradle-wrapper.properties
xmlbeans/trunk/gradlew
Modified: xmlbeans/trunk/build.gradle
==============================================================================
--- xmlbeans/trunk/build.gradle Sun Jun 7 16:00:09 2026 (r1935111)
+++ xmlbeans/trunk/build.gradle Sun Jun 7 16:21:54 2026 (r1935112)
@@ -17,7 +17,7 @@
buildscript {
repositories {
- maven { url 'https://plugins.gradle.org/m2/' }
+ maven { url = 'https://plugins.gradle.org/m2/' }
mavenCentral()
}
@@ -182,7 +182,7 @@ dependencies {
}
wrapper {
- gradleVersion = '8.14.3'
+ gradleVersion = '8.14.4'
}
def extCP = files(configurations.testCompileClasspath +
sourceSets.main.output.files + sourceSets.main.resources.srcDirs)
@@ -398,7 +398,7 @@ tasks.withType(AbstractArchiveTask).conf
def buildInfoFile =
layout.buildDirectory.file("buildinfo/xmlbeans-${XMLBeansVersion}.buildinfo")
task writeBuildInfo(type: WriteProperties) {
- outputFile buildInfoFile
+ outputFile = buildInfoFile
property 'Built-By', System.properties['user.name']
property 'Build-Timestamp', new
java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date())
property 'Created-By', "Gradle ${gradle.gradleVersion}"
@@ -409,7 +409,7 @@ task writeBuildInfo(type: WritePropertie
jar.dependsOn 'writeBuildInfo'
def buildInfoArtifact = artifacts.add('genresources',
buildInfoFile.get().asFile) {
- type 'buildinfo'
+ type = 'buildinfo'
}
rat {
@@ -529,9 +529,9 @@ distributions {
publishing {
publications {
POI(MavenPublication) {
- groupId 'org.apache.xmlbeans'
- artifactId project.archivesBaseName
- version XMLBeansVersion
+ groupId = 'org.apache.xmlbeans'
+ artifactId = project.archivesBaseName
+ version = XMLBeansVersion
from components.java
artifact buildInfoArtifact
@@ -676,7 +676,7 @@ if (project.hasProperty('enableSonar'))
jacoco {
- toolVersion = '0.8.13'
+ toolVersion = '0.8.14'
}
test {
Modified: xmlbeans/trunk/gradle/wrapper/gradle-wrapper.properties
==============================================================================
--- xmlbeans/trunk/gradle/wrapper/gradle-wrapper.properties Sun Jun 7
16:00:09 2026 (r1935111)
+++ xmlbeans/trunk/gradle/wrapper/gradle-wrapper.properties Sun Jun 7
16:21:54 2026 (r1935112)
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Modified: xmlbeans/trunk/gradlew
==============================================================================
--- xmlbeans/trunk/gradlew Sun Jun 7 16:00:09 2026 (r1935111)
+++ xmlbeans/trunk/gradlew Sun Jun 7 16:21:54 2026 (r1935112)
@@ -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,19 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac
-# Loop in case we encounter an error.
-for attempt in 1 2 3; do
- if [ ! -e "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" ]; then
- if ! curl -s -S --retry 3 -L -o
"$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
"https://raw.githubusercontent.com/gradle/gradle/v8.9.0/gradle/wrapper/gradle-wrapper.jar";
then
- rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
- # Pause for a bit before looping in case the server throttled us.
- sleep 5
- continue
- fi
- fi
-done
-
-CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+CLASSPATH="\\\"\\\""
# Determine the Java command to use to start the JVM.
@@ -215,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.
@@ -223,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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]