force integ tests for modules to run before distribution integ tests

This commit is contained in:
Ryan Ernst 2015-12-03 22:07:22 -08:00
parent a8e9403204
commit afedd24877
1 changed files with 4 additions and 1 deletions

View File

@ -56,11 +56,14 @@ task buildModules(type: Copy) {
project.gradle.projectsEvaluated { project.gradle.projectsEvaluated {
project.rootProject.subprojects.findAll { it.path.startsWith(':modules:') }.each { Project module -> project.rootProject.subprojects.findAll { it.path.startsWith(':modules:') }.each { Project module ->
buildModules { buildModules {
dependsOn(module.bundlePlugin) dependsOn module.bundlePlugin
into(module.name) { into(module.name) {
from { zipTree(module.bundlePlugin.outputs.files.singleFile) } from { zipTree(module.bundlePlugin.outputs.files.singleFile) }
} }
} }
configure(subprojects.findAll { it.name != 'integ-test-zip' }) { Project distribution ->
distribution.integTest.mustRunAfter(module.integTest)
}
} }
} }