I'm bit curious for learning how can we load private credentials from system environment variables (Windows/Mac/Linux) in Android build.gradle
or any other gradle configuration file.
There might be ways or approaches through which we can achieve this but really looking for directions.
Couple of things I already explored but didn't work for me are:
Note: I tried on Windows Environment and getting
null
.In Gradle, is there a better way to get Environment Variables?
https://javabydeveloper.com/gradle-system-properties-via-command-line-step-by-step-example/
How to give System property to my test via Gradle and -D