Slackbot
11/28/2023, 11:20 PMChris
11/29/2023, 2:11 PMplugins.withType<JvmTestSuitePlugin> {
extensions.configure<TestingExtension> {
suites.configureEach {
tasks.register("jacoco${name.uppercase()}") {
}
}
}
}Jeff Wise
11/29/2023, 2:14 PMChris
11/29/2023, 2:16 PMVampire
11/29/2023, 2:25 PMIirc if you eagerly iterate through the test tasks usinginstead ofallit will work, but then you are of course disturbing task configuration avoidance for those.configureEach
Vampire
11/29/2023, 2:26 PMall or using afterEvaluate. Any recommendations?
all, because afterEvaluate is more evil. 🙂Vampire
11/29/2023, 2:27 PMafterEvaluate is mostly symptom treatment. The main effect of using afterEvaluate is introducing timing problems, ordering problems, and race conditions.Jeff Wise
11/29/2023, 2:29 PMephemient
11/29/2023, 5:29 PMephemient
11/29/2023, 5:31 PMwhenElementKnown() would work (for now)