title: Gradle: Get Ant Task Output
body: <p>I have an Ant task that use the standard output to print information and I want use this output in a gradle task. I execute Ant task using following command:</p>
  
  <pre><code>tasks.myAntTask.execute()
  </code></pre>
  
  <p>Anybody know how can I get the Ant output and pass it to the gradle task?</p>