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:
parent
b1257d873b
commit
b335487ca6
|
@ -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')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue