title: Hide credentials for all projects in build.gradle
body: <p>My private repo which is loaded from bintray used for all projects and needs credentials:</p>
  
  <pre><code>allprojects {
       jcenter()
       repositories {
          maven {
              url "http://myurl.bintray.com/sdk"
              credentials {
                  username 'JohnDoe'
                  password 'somePassword'
              }
          }
       }     
  }
  </code></pre>
  
  <p>What's the best way to hide them?</p>
  
  <p>Is it possible without creating new instance of Properties?</p>
  
  <pre><code>Properties properties = new Properties()
  properties.load(project.rootProject.file('local.properties').newDataInputStream())
  </code></pre>