title: Does gradle.properties have access to environment variables
body: <p>I looked around and could not find any way of accessing environment variables in my gradle.properties.</p>
  
  <p><strong>What I can do:</strong> In my build.gradle I can access environment variables like this <code>System.getenv("MY_VAR")</code>. I would like to do the same in my gradle.properties.</p>
  
  <p><strong>Example of what I want to do:</strong> In my gradle.properties replace <code>build.foo=bar</code> with <code>build.foo=System.getenv("BAR")</code></p>
  
  <p>So far all my attempts to access environment variables from gradle.properties have failed.</p>
  
  <p>Any insight into the matter would be great, thanks!</p>