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 82126cf6491184d5a0e5cccc8a75761aceadddba
Author: Paul King <[email protected]>
AuthorDate: Sat Mar 22 15:06:38 2025 +1000

    some temp debugging
---
 build-logic/src/main/groovy/org.apache.groovy-tested.gradle | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build-logic/src/main/groovy/org.apache.groovy-tested.gradle 
b/build-logic/src/main/groovy/org.apache.groovy-tested.gradle
index df82b64100..cf4ca8b5c4 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-tested.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-tested.gradle
@@ -70,8 +70,14 @@ tasks.withType(Test).configureEach {
         userHome: temporaryDir // make sure tests are isolated from real user 
home or tests using Grape may fail
     ))
 
+    println GroovySystem.getVersion()
     if (rootProject.hasProperty('target.java.home')) {
+        println '\nSystem properties:'
+        println System.getProperties().entrySet().join('\n')
+        println '\nEnvironment variables:'
+        println System.getenv().entrySet().join('\n')
         String targetJavaHome = 
rootProject.property('target.java.home')?.trim()
+        println targetJavaHome
         if (targetJavaHome) {
             executable = "${targetJavaHome}/bin/java"
             println "Using ${executable} to run tests"

Reply via email to