In several Tasks, I reference jars in my home folder.
Is there a better way to get Environment Variables than
ENV = System.getenv() HOME = ENV[\'HOME
I couldn't get the form suggested by @thoredge to work in Gradle 1.11, but this works for me:
home = System.getenv('HOME')
It helps to keep in mind that anything that works in pure Java will work in Gradle too.