Executing gradle commands with -i
seem to seriously enhance debugging experience, especially when tests are
failing to initialize (as if when Testcontainers fail to connect to Docker daemon) and there're
almost no logs in the JUnit XML reports
./gradlew -i clean test
Also see here: https://docs.gradle.org/current/userguide/java_testing.html
compileJava {
doFirst {
System.out.println(it.classpath.resolvedConfiguration.getFiles())
}
}
git update-index --chmod=+x gradlew