From 45c151ff8bd1428db8f52455f5cad43a03a75346 Mon Sep 17 00:00:00 2001 From: Alpar Torok Date: Thu, 18 Apr 2019 09:50:49 +0300 Subject: [PATCH] Disable composePull only if it exists (#41306) The task will not be created when docker is not available. --- distribution/docker/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/docker/build.gradle b/distribution/docker/build.gradle index 71fc62673dca9..00fceb9df6a14 100644 --- a/distribution/docker/build.gradle +++ b/distribution/docker/build.gradle @@ -142,4 +142,4 @@ assemble.dependsOn "buildDockerImage" // We build the images used in compose locally, but the pull command insists on using a repository // thus we must disable it to prevent it from doing so. // Everything will still be pulled since we will build the local images on a pull -composePull.enabled = false +tasks.matching { name == "composePull" }.all { enabled = false }