Use Task.doNotTrackState api

This api is faster replacement for 'task.outputs.upToDateWhen { false }'
 approach.

^KT-52624 Fixed
This commit is contained in:
Yahor Berdnikau
2022-09-27 12:06:59 +02:00
committed by Space
parent 037f41526f
commit 5924a80ec8
8 changed files with 29 additions and 10 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ open class AggregateTest : Test() { // Inherit from Test to see test results in
}
private fun subTaskConfigure(testTask: Test) {
testTask.outputs.upToDateWhen { false }
testTask.doNotTrackState("State is tracked by AggregateTest task")
testTask.ignoreFailures = true
testTask.filter {
isFailOnNoMatchingTests = false