Fix qa build.gradle to gradle assemble works correctly

There is a new way to disable assembling from certain subdirectories
This commit is contained in:
Lee Hinman 2018-09-06 11:22:27 -06:00
parent b1257d873b
commit b335487ca6
1 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@ gradle.projectsEvaluated {
subprojects { subprojects {
Task assemble = project.tasks.findByName('assemble') Task assemble = project.tasks.findByName('assemble')
if (assemble) { if (assemble) {
project.tasks.remove(assemble) assemble.enabled = false
project.build.dependsOn.remove('assemble')
} }
} }
} }