title: Share gradle build file with other projects via GIT repository
body: <p>Is it possible to share a <code>build.gradle</code> with other projects via a GIT repository (credentials required)? </p>
  
  <p>Simplified <code>Build.gradle</code>:</p>
  
  <pre><code>apply plugin: 'checkstyle'
  
  checkstyle {
      toolVersion = "7.4";
      reportsDir = file("$project.buildDir/reports/checkstyle/")
  }
  </code></pre>