File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 18
18
*/
19
19
20
20
21
+ import com.avast.gradle.dockercompose.tasks.ComposePull
21
22
import com.github.jengelman.gradle.plugins.shadow.ShadowPlugin
22
23
import org.apache.tools.ant.taskdefs.condition.Os
23
24
import org.elasticsearch.gradle.BuildPlugin
@@ -514,10 +515,12 @@ gradle.projectsEvaluated {
514
515
515
516
allprojects {
516
517
tasks. register(' resolveAllDependencies' ) {
517
- dependsOn tasks. matching { it. name == " pullFixture" }
518
- doLast {
519
- configurations. findAll { it. isCanBeResolved() }. each { it. resolve() }
520
- }
518
+ if (project. path. contains(" fixture" )) {
519
+ dependsOn tasks. withType(ComposePull )
520
+ }
521
+ doLast {
522
+ configurations. findAll { it. isCanBeResolved() }. each { it. resolve() }
523
+ }
521
524
}
522
525
523
526
// helper task to print direct dependencies of a single task
You can’t perform that action at this time.
0 commit comments