Skip to content

Commit 7eba39a

Browse files
committed
Fixed ordering issues between 'test' and 'integrationTest' tasks
1 parent eb08258 commit 7eba39a

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ test {
4545
}
4646

4747
systemProperties TESTROOT : new File(buildDir,'tmp/test/unittests').absolutePath
48-
systemProperties TEST_SCRIPT_DIR : new File(projectDir,'src/test/resources/scripts').absolutePath
4948
systemProperties 'logback.configurationFile' : new File(projectDir,'src/test/resources/logback-test.xml').absolutePath
5049

5150
}

gradle/integration-tests.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ sourceSets {
1515
java.srcDir file("src/integTest/java")
1616
groovy.srcDir file("src/integTest/groovy")
1717
resources.srcDir file("src/integTest/resources")
18-
compileClasspath = sourceSets.main.output + sourceSets.test.output + configurations.integrationTestCompile
18+
compileClasspath = sourceSets.main.output + configurations.integrationTestCompile
1919
runtimeClasspath = output + compileClasspath + configurations.integrationTestRuntime
2020
}
2121
}
2222

2323
task integrationTest(type: Test, dependsOn: jar) {
2424
testClassesDir = sourceSets.integrationTest.output.classesDir
2525
classpath = sourceSets.integrationTest.runtimeClasspath
26-
systemProperties["integTest.projects"] = new File(sourceSets.integrationTest.output.resourcesDir, "projects").absolutePath
26+
mustRunAfter test
2727
}
2828

2929
check.dependsOn integrationTest
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Aug 08 12:16:10 PDT 2014
1+
#Fri Aug 15 18:13:15 BST 2014
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-all.zip

0 commit comments

Comments
 (0)