title: Referencing the user's home directory in a Gradle script
body: <p>Is there a cleaner way to reference a file in the user's home directory than doing the following in a gradle script? (referencing an Android keystore in this example)</p>
  
  <pre><code>homeDir = System.getenv('HOMEDRIVE') + System.getenv('HOMEPATH');
  ...
  signingConfigs {
      release {
          storeFile file(homeDir + "\\.android\\releaseKeystore.jks")
      }
  }
  ...
  </code></pre>