Disable composePull only if it exists (#41306)

The task will not be created when docker is not available.
This commit is contained in:
Alpar Torok 2019-04-18 09:50:49 +03:00
parent a4a4259cac
commit 45c151ff8b

View File

@ -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 }