title: How configure multiple gradle.properties files in Gradle for multiple projects?
body: <p>I have multiple projects and build using Gradle 2.4. </p>
  
  <p>I want to overwrite the <code>org.gradle.java.home</code> parameter in each project and try to add gradle.properties file for each project and overwrite the parameter. </p>
  
  <p>I have set the main gradle project <code>org.gradle.java.home=C:/Java/jdk1.6.0</code> and overwrite in subproject as <code>org.gradle.java.home=C:/Java/jdk1.7.0_45</code></p>
  
  <p>But it is not working as expected and I'm getting  </p>
  
  <p><strong>invalid source release: 1.7</strong></p>
  
  <p>error message. </p>
  
  <p>Could someone give idea how to fix this issue?</p>