title: Cannot access environment variable on mac from System.getenv() in build.gradle
body: <p>So I need to customized dependencies in gradle based on a environment variable.
  For that I created a variable using the <code>export ENV=test</code> command.
  I do a printenv and I see that as listed in the console on mac.
  However , when I do a System.getenv() from the build.gradle file it is not visble.
  Suggestions ?</p>