Skip to content

Commit c9405db

Browse files
committed
undo
1 parent d45f842 commit c9405db

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

gradle-plugin/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,15 @@ generateSource(
109109

110110
val globalRootDir: String by extra
111111

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+
112121
val androidHome = System.getenv("ANDROID_HOME")
113122
?: System.getProperty("ANDROID_SDK_HOME")
114123
?: Path(globalRootDir, "local.properties")

0 commit comments

Comments
 (0)