Is it possible to change the gradle home using gradle.properties in the %userprofile%/.gradle/gradle.properties?
That would be a chicken-and-egg problem, because the `gradle.properties´ are looked up in the Gradle user home location. You can control it through the GRADLE_OPTS environment variable though:
Or with the
--gradle-user-home command line switch: