Skip to content

Instantly share code, notes, and snippets.

@jaredsburrows
Created April 15, 2016 19:43
Show Gist options
  • Save jaredsburrows/1ea10982d3a2a838a524c622f962d231 to your computer and use it in GitHub Desktop.
Save jaredsburrows/1ea10982d3a2a838a524c622f962d231 to your computer and use it in GitHub Desktop.
sourceSets {
integrationTest {
java.srcDir file('src/integration-test/java')
resources.srcDir file('src/integration-test/resources')
}
}
configurations {
integrationTestCompile.extendsFrom testCompile
}
task integrationTest(type: Test) {
testClassesDir = sourceSets.integrationTest.output.classesDir
classpath = sourceSets.integrationTest.runtimeClasspath
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment