aboutsummaryrefslogtreecommitdiff
path: root/gradle/integTest.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'gradle/integTest.gradle')
-rw-r--r--gradle/integTest.gradle48
1 files changed, 0 insertions, 48 deletions
diff --git a/gradle/integTest.gradle b/gradle/integTest.gradle
deleted file mode 100644
index 2ce286c..0000000
--- a/gradle/integTest.gradle
+++ /dev/null
@@ -1,48 +0,0 @@
-sourceSets {
- integTest {
- compileClasspath += main.output + test.output
- runtimeClasspath += main.output + test.output
- }
-}
-
-configurations {
- integTestCompile.extendsFrom testCompile
- integTestRuntime.extendsFrom testRuntime
-}
-
-task integTest(type: Test) {
- shouldRunAfter 'test'
- testClassesDirs = sourceSets.integTest.output.classesDirs
- classpath = sourceSets.integTest.runtimeClasspath
-}
-
-check.dependsOn(integTest)
-
-plugins.withType(org.gradle.plugins.ide.idea.IdeaPlugin) {
- idea {
- module {
- testSourceDirs += sourceSets.integTest.groovy.srcDirs
- testSourceDirs += sourceSets.integTest.resources.srcDirs
- scopes.TEST.plus.add(configurations.integTestCompile)
- scopes.TEST.plus.add(configurations.integTestRuntime)
- }
- }
-}
-
-
-task createClasspathManifest {
- def outputDir = file("$buildDir/$name")
-
- inputs.files sourceSets.main.runtimeClasspath
- outputs.dir outputDir
-
- doLast {
- outputDir.mkdirs()
- file("$outputDir/plugin-classpath.txt").text = sourceSets.main.runtimeClasspath.join("\n")
- }
-}
-
-dependencies {
- testRuntimeOnly files(createClasspathManifest)
- // integTestRuntime files(createClasspathManifest) // old
-}