Browse files

Changed the intTestImage task to not require building the documentati…

…on, which means that integration tests in subprojects can now be run without having to build the docs.
  • Loading branch information...
1 parent ea9f770 commit e584515f094480cc6bd80b8ce3cf850c26fe5708 @alkemist alkemist committed Jun 29, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −2 build.gradle
  2. +1 −0 gradle/integTest.gradle
View
4 build.gradle
@@ -488,8 +488,8 @@ artifacts {
}
task intTestImage(type: Sync) {
- dependsOn allZip.taskDependencies
- with allDistImage
+ dependsOn "launcher:startScripts"
+ with binDistImage
integTestGradleHome = file("$buildDir/integ test")
into integTestGradleHome
doLast { task ->
View
1 gradle/integTest.gradle
@@ -49,6 +49,7 @@ integTestTasks.all {
doFirst {
systemProperties['integTest.gradleHomeDir'] = integTestImageDir.absolutePath
systemProperties['integTest.gradleUserHomeDir'] = integTestUserDir.absolutePath
+ systemProperties['integTest.samplesdir'] = project(":docs").samplesSrcDir.absolutePath
}
}

0 comments on commit e584515

Please sign in to comment.