Right now the build.gradle gets config parameters from system environment variables which are set up different on different platforms and so make it really hard to get a consistent gradle build.
But gradle has its own built in mechanism, gradle.properties, whose values can be accessed via system.properties. Can we please switch the config variables from system.getenv to system.properties?
It will make the build consistent regardless of OS.