You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2023/06/12 08:21:02 UTC

[groovy] branch master updated (accab6d376 -> 02edc725ff)

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

paulk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


    from accab6d376 Bump com.github.ben-manes.versions from 0.46.0 to 0.47.0
     new 84ac62f788 bump gradle to 8.1.1 and apply asciidoc workaround
     new 02edc725ff gradle 8.1.1 adjustment for jacoco plugin

The 2 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:
 .../groovy/org.apache.groovy-asciidoctor.gradle     |   8 ++++++++
 .../org.apache.groovy-jacoco-aggregation.gradle     |   5 ++---
 gradle.properties                                   |   4 ++--
 gradle/wrapper/gradle-wrapper.jar                   | Bin 60756 -> 61574 bytes
 gradle/wrapper/gradle-wrapper.properties            |   3 ++-
 gradlew                                             |  12 ++++++++----
 gradlew.bat                                         |   1 +
 7 files changed, 23 insertions(+), 10 deletions(-)


[groovy] 02/02: gradle 8.1.1 adjustment for jacoco plugin

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 02edc725ff6e40dca2ad7e1b3aea8f4eeeb961ad
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon Jun 12 17:32:34 2023 +1000

    gradle 8.1.1 adjustment for jacoco plugin
---
 .../src/main/groovy/org.apache.groovy-jacoco-aggregation.gradle      | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/build-logic/src/main/groovy/org.apache.groovy-jacoco-aggregation.gradle b/build-logic/src/main/groovy/org.apache.groovy-jacoco-aggregation.gradle
index 0a34cf2a67..22ea0f8509 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-jacoco-aggregation.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-jacoco-aggregation.gradle
@@ -41,9 +41,8 @@ if (sharedConfiguration.hasCodeCoverage.get()) {
         }
 
         reports {
-            xml.enabled true
-
-            html.enabled true
+            xml.required = false
+            csv.required = false
         }
     }
 }


[groovy] 01/02: bump gradle to 8.1.1 and apply asciidoc workaround

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 84ac62f7888e7d10e3b1b3f84a5b7958a3015754
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon Jun 12 16:35:27 2023 +1000

    bump gradle to 8.1.1 and apply asciidoc workaround
---
 .../groovy/org.apache.groovy-asciidoctor.gradle     |   8 ++++++++
 gradle.properties                                   |   4 ++--
 gradle/wrapper/gradle-wrapper.jar                   | Bin 60756 -> 61574 bytes
 gradle/wrapper/gradle-wrapper.properties            |   3 ++-
 gradlew                                             |  12 ++++++++----
 gradlew.bat                                         |   1 +
 6 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/build-logic/src/main/groovy/org.apache.groovy-asciidoctor.gradle b/build-logic/src/main/groovy/org.apache.groovy-asciidoctor.gradle
index 7b1d4bb3c3..0ca38388f5 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-asciidoctor.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-asciidoctor.gradle
@@ -36,6 +36,13 @@ configurations {
             artifact tasks.named('asciidoctor')
         }
     }
+    asciidocExtensions
+}
+
+dependencies {
+    // TODO: Remove it after AsciidoctorJ 4.0.0 new release, workaround to fix NoClassDefFoundError on Gradle 7.6+,
+    // see https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/655#issuecomment-1374479836
+    asciidocExtensions gradleApi()
 }
 
 tasks.withType(AbstractAsciidoctorTask).configureEach {
@@ -45,6 +52,7 @@ tasks.withType(AbstractAsciidoctorTask).configureEach {
 
 asciidoctor {
     baseDirFollowsSourceFile()
+    configurations 'asciidocExtensions'
     def (full, major, minor, patch, flavor) = (groovyVersion =~ /(\d+)\.(\d++)\.(\d+)(?:-(.+))?/)[0]
     logDocuments = true
     sourceDir = project.file('src/spec/doc')
diff --git a/gradle.properties b/gradle.properties
index e009363b76..355644b4a6 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -20,8 +20,8 @@ groovyBundleVersion=5.0.0.SNAPSHOT
 groovyTargetBytecodeVersion=11
 targetJavaVersion=11
 
-binaryCompatibilityBaseline=4.0.7
-gradle_version=7.5.1
+binaryCompatibilityBaseline=4.0.11
+gradle_version=8.1.1
 
 groovyJUnit_ms=512m
 groovyJUnit_mx=2g
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
index 249e5832f0..943f0cbfa7 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 ae04661ee7..37aef8d3f0 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,6 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
+networkTimeout=10000
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
diff --git a/gradlew b/gradlew
index a69d9cb6c2..65dcd68d65 100755
--- a/gradlew
+++ b/gradlew
@@ -55,7 +55,7 @@
 #       Darwin, MinGW, and NonStop.
 #
 #   (3) This script is generated from the Groovy template
-#       https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
+#       https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
 #       within the Gradle project.
 #
 #       You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
     esac
 done
 
-APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
-
-APP_NAME="Gradle"
+# This is normally unused
+# shellcheck disable=SC2034
 APP_BASE_NAME=${0##*/}
+APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
 
 # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
 DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
 if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
     case $MAX_FD in #(
       max*)
+        # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
+        # shellcheck disable=SC3045 
         MAX_FD=$( ulimit -H -n ) ||
             warn "Could not query maximum file descriptor limit"
     esac
     case $MAX_FD in  #(
       '' | soft) :;; #(
       *)
+        # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
+        # shellcheck disable=SC3045 
         ulimit -n "$MAX_FD" ||
             warn "Could not set maximum file descriptor limit to $MAX_FD"
     esac
diff --git a/gradlew.bat b/gradlew.bat
index f127cfd49d..93e3f59f13 100644
--- a/gradlew.bat
+++ b/gradlew.bat
@@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
 
 set DIRNAME=%~dp0
 if "%DIRNAME%"=="" set DIRNAME=.
+@rem This is normally unused
 set APP_BASE_NAME=%~n0
 set APP_HOME=%DIRNAME%