title: Gradle not picking up gradle.properties entry in init script
body: <p>I'm trying to access a property that's set in ~/.gradle/gradle.properties from an init script distributed inside a custom gradle wrapper.</p>
  
  <h2>~/.gradle/gradle.properties</h2>
  
  <pre><code>companyLogin=test
  </code></pre>
  
  <h2>~/.gradle/wrapper/dists/.../companyLoginCheck.gradle</h2>
  
  <pre><code>println "Company Username: " + companyLogin
  </code></pre>
  
  <p>This fails: "Could not find property 'companyLogin' on build.</p>
  
  <h2>projectRoot/buld.gradle</h2>
  
  <pre><code>task printCompanyLogin {
      println "Company Username: " + companyLogin
  }
  </code></pre>
  
  <p>This works fine (I have to comment out the init script one)</p>
  
  <p>I am making sure I execute with $gradlew .</p>
  
  <p>I've also tried putting companyLogin=test in the project root gradle.properties without success.  Is this intentional behavior of Gradle?  I don't recall seeing it in the manual, but I've not had as much time with Gradle in the last 6 months or so as I'd like.</p>
  
  <p>Anyone have any suggestions?</p>