title: How to share a common build.gradle via a repository?
body: <p>I'm looking at porting a maven build to gradle. One feature of maven is <a href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Inheritance" rel="noreferrer">pom inheritance</a> whereby I can declare a variety of common behaviour in a pom, publish that to a repository and then use that via the <code>&lt;parent&gt;</code> element in a concrete project. </p>
  
  <p>My Q is simply whether there is an equivalent behaviour in gradle? </p>
  
  <p>I've previously done this in ant+ivy by importing a common build.xml which relied on either having already checked out the location of the common build.xml from source control or using something like svn:externals. I can repeat this approach without any real difficulty but this seems to be one thing maven does quite nicely so it would be nice to see something similar in gradle.</p>