Created
July 13, 2018 14:55
-
-
Save tori3852/9a1a5186d2831c24a12e4d2871da7e76 to your computer and use it in GitHub Desktop.
Gradle integration tests folder (no auto execution)
This file contains 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
configurations { | |
integrationTestImplementation.extendsFrom testImplementation | |
integrationTestCompile.extendsFrom testCompile | |
integrationTestRuntime.extendsFrom testRuntime | |
} | |
sourceSets { | |
integrationTest { | |
java { | |
compileClasspath += main.output + test.output | |
runtimeClasspath += main.output + test.output | |
srcDir file('src/integration/java') | |
} | |
resources.srcDir file('src/integration/resources') | |
} | |
} | |
task integrationTest(type: Test) { | |
classpath = sourceSets.integrationTest.runtimeClasspath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment