We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d45f842 commit c9405dbCopy full SHA for c9405db
gradle-plugin/build.gradle.kts
@@ -109,6 +109,15 @@ generateSource(
109
110
val globalRootDir: String by extra
111
112
+val envVariables = System.getenv();
113
+
114
+// Iterate over the Map and print each key-value pair
115
+println("--- All Environment Variables ---")
116
+for (entry in envVariables) {
117
+ println(entry.key + " = " + entry.value)
118
+}
119
+println("---------------------------------")
120
121
val androidHome = System.getenv("ANDROID_HOME")
122
?: System.getProperty("ANDROID_SDK_HOME")
123
?: Path(globalRootDir, "local.properties")
0 commit comments