diff --git a/build.gradle b/build.gradle index 4a967c854..505f7a2be 100644 --- a/build.gradle +++ b/build.gradle @@ -401,6 +401,10 @@ def createGetBuildSrcDirectDepsTask(outputFileName) { rootProject.ext { invokeJavaDiffFormatScript = { action -> + println("JAVA_HOME=${System.env.JAVA_HOME}") + println("PATH=${System.env.PATH}") + println(ext.execInBash("type java", "${rootDir}")) + println(ext.execInBash("java -version", "${rootDir}")) def scriptDir = rootDir.path.endsWith('buildSrc') ? "${rootDir}/../java-format" : "${rootDir}/java-format"