close #137 Gradle - specify what JAVA_HOME to use
build.gradle template - check for gradle version; see
http://stackoverflow.com/questions/22778139/how-to-define-gradle-version-to-use-inside-build-gradle