tasks.matching {it instanceof Test}.all { testLogging.events = ["failed", "passed", "skipped"] }
Useful for finding tests that do not clean up properly!