Created
February 23, 2015 18:07
-
-
Save chbatey/6da41beb0d620618d180 to your computer and use it in GitHub Desktop.
Adding E2E source sets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sourceSets { | |
e2eTest { | |
java { | |
srcDir 'src/e2etest/java' | |
} | |
resources { | |
srcDir 'src/e2etest/resources' | |
} | |
compileClasspath += sourceSets.main.runtimeClasspath | |
compileClasspath += sourceSets.test.compileClasspath | |
} | |
} | |
task e2eTest(type: Test) { | |
description = "Runs End to End Tests" | |
testClassesDir = sourceSets.e2eTest.output.classesDir | |
classpath += sourceSets.e2eTest.runtimeClasspath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment