title: How to read a property from an ant build file to a gradle build script?
body: <p>I am looking for a possibly clean and concise way of extracting a property from ant's <code>build.xml</code> file.</p>
  
  <p>I know I could use <code>ant.importBuild 'build.xml'</code> but this would import all the targets, possibly causing name clashes e.g. with the java plugin, which is a <a href="http://issues.gradle.org/browse/GRADLE-771" rel="nofollow">known issue</a>.</p>
  
  <p>I am using gradle 1.6.</p>