title: Safe project-agnostic way to specify JDK for Gradle?
body: <p>As we know, it is possible to specify JDK path in <code>gradle.properties</code> at the project level, in property: <code>org.gradle.java.home</code>. However, this file may be under VCS (i.e. git). Users may have different paths for JDK, hence we can't commit this file.</p>
  
  <p>Is there any safe, project-agnostic way to specify this property, so it works for users and different projects? Maybe using some environment property?</p>
  
  <p>EDIT
  I am looking a way to specify JDK <em>per project</em> but not be forced to commit this information.</p>