New to Gralde, and having Gralde Home woes!


(monkey_for_hire) #1

Each time I gradle build I have to specify my GRADLE_HOME with “-g /cygdrive/c/User// .gradle”. Is there a properties file where I can specify this? It seems I can not find this easily.


(Peter Niederwieser) #2

The best place to specify ‘GRADLE_HOME’ is the init script for your shell (just as with any other environment variable).

PS: Gradle itself doesn’t require ‘GRADLE_HOME’ to be set (I think earlier versions did). Are you using it to set the ‘PATH’ to Gradle’s ‘bin’ directory?