Browse Source

Always finalize AntFixture by AntStopTask

- applies a more strict finalize rule for any antfixture executed in the build
- Related to #66377
Rene Groeschke 4 years ago
parent
commit
ebbe8cab2f

+ 1 - 0
buildSrc/src/main/groovy/org/elasticsearch/gradle/test/AntFixture.groovy

@@ -231,6 +231,7 @@ class AntFixture extends AntTask implements Fixture {
         stop.configure {
             it.fixture = fixture
         }
+        fixture.finalizedBy(stop)
         return stop
     }