title: Specify Gradle Report Directory
body: <p>I have several folders trying to seperate my tests up into unit, integration, 3rd party, db. This way I can have my tests seperated into chunks purposes, to make TDD easier/faster. Here is the task that I am trying to use. </p>
  
  <pre><code>task integrationTest(type: Test) {
      testClassesDir = sourceSets.integration.output.classesDir
      classpath = sourceSets.integration.runtimeClasspath
      maxParallelForks 8
      maxHeapSize = "4048m"
  }
  </code></pre>
  
  <p>I know there is <a href="http://www.gradle.org/docs/current/dsl/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test%3atestReportDir" rel="noreferrer">testReportDir</a>, but it's deprecated. I want to be able to use the new method.</p>
  
  <p>I have tried the following closures:</p>
  
  <pre><code>reports {
      html = file("$buildDir/reports/intTests")
  }
  
  reports {
      setDestination = file("$buildDir/reports/intTests")
  }
  
  reports {
      destinationDir = file("$buildDir/reports/intTests")
  }
  
  destinationDir = file("$buildDir/reports/intTests")
  </code></pre>