title: Set JDK home (javac path) in user's gradle.properties
body: <p>I need to specify the path to <code>javac</code> in my gradle project. I can do this by adding the following to my <code>build.gradle</code> file:</p>
  
  <pre><code>options.forkOptions.executable = '/home/mj/lib/jdk1.7.0_80/bin/javac'
  </code></pre>
  
  <p>The problem is that this file is shared in our repository and I do not want the setting to get pushed there. I tried putting it in my local <code>gradle.properties</code> file, but it didn't work. Also setting <code>gradle.java.home</code> does not affect this. I guess it's because gradle uses <code>gradle.java.home</code> for <code>java</code> and not for <code>javac</code>, right? I also (hopelessly) tried setting a <code>gradle.jdk.home</code> which (not surprisingly) didn't work either!</p>
  
  <p>Is there any place outside the project that is included in build.gradle?</p>