title: integrate ant junit generated test-results in gradle html report
body: <p>In my gradle build script, I added doLast method to test task to run ant.junit task to execute tests from few jar files.</p>
  
  <pre><code>    test &lt;&lt;  {
        //run ant junit task with reports stored in $buildDir/test-results
  
        //after ant junit completion and "test" task completion, 
        //how can I get the gradle generated html report include the above test-results?    
      }
  </code></pre>
  
  <p>How do I enhance this task to get the gradle html report benefit? I see that ant junit test xml reports are properly getting created in $buildDir/test-results along with other "gradle test" created xmls. However $buildDir/reports/tests" contains only. I was hoping that gradle will pick up the ant junit created test result xml files as well and include in its html report. But this is not happening. How can I get this behaviour?</p>
  
  <p>I tried to create another task of type TestReport. But it also did not help.</p>
  
  <pre><code> task runTestsFromJar( type: TestReport ) {
          destinationDir=file("$buildDir/reports/tests")
          reportOn tasks.test, files("$buildDir/test-results/binary/test")
   }
  </code></pre>
  
  <p>I am working with gradle 1.8.</p>