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
The following commit(s) were added to refs/heads/master by this push:
new 963cd398dd minor refactor: add a message to cater for gradle 9
breakages when calling generateLicenseReport
963cd398dd is described below
commit 963cd398ddc1d7caf20a51431905c1bdc4cea647
Author: Paul King <[email protected]>
AuthorDate: Tue Apr 7 10:04:14 2026 +1000
minor refactor: add a message to cater for gradle 9 breakages when calling
generateLicenseReport
---
build.gradle | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/build.gradle b/build.gradle
index 5b890890b9..b23d1be8a2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -250,6 +250,12 @@ licenseReport {
]
}
+gradle.taskGraph.whenReady { graph ->
+ if (graph.hasTask(':generateLicenseReport') &&
gradle.startParameter.parallelProjectExecutionEnabled) {
+ throw new GradleException('generateLicenseReport is not compatible
with parallel builds (Gradle 9+ issue). Please re-run with: ./gradlew
generateLicenseReport --no-parallel')
+ }
+}
+
sonarqube {
properties {
property 'sonar.projectName', 'Apache Groovy'