From b335487ca66bc6f1375e8d825fd81200d1ffd47f Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Thu, 6 Sep 2018 11:22:27 -0600 Subject: [PATCH] Fix qa build.gradle to gradle assemble works correctly There is a new way to disable assembling from certain subdirectories --- x-pack/plugin/ilm/qa/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugin/ilm/qa/build.gradle b/x-pack/plugin/ilm/qa/build.gradle index 25aee81ce46..de822a5e1b1 100644 --- a/x-pack/plugin/ilm/qa/build.gradle +++ b/x-pack/plugin/ilm/qa/build.gradle @@ -4,8 +4,8 @@ gradle.projectsEvaluated { subprojects { Task assemble = project.tasks.findByName('assemble') if (assemble) { - project.tasks.remove(assemble) - project.build.dependsOn.remove('assemble') + assemble.enabled = false } } -} \ No newline at end of file +} +