https://kotlinlang.org logo
Title
z

Zac Sweers

05/04/2023, 6:51 PM
👋 We're testing out kover 0.7.0-Beta and finding that it always misses
Test
tasks in our subprojects, and subsequently never runs. I suspect there's a race condition, and curious if others have seen similar? Even if I make the tasks explicitly depend on the Test tasks, it always skips because the file output wiring as inputs into the kover report task are always missing.
g

glureau

05/04/2023, 7:16 PM
I got a similar problem when upgrading, because I didn't define the mergeWith (explanation).
z

Zac Sweers

05/04/2023, 7:18 PM
hmm, that looks like a problem as it fails eagerly if that variant isn't found
it should really not be using that API
and instead use
AndroidComponents
+
onVariants
trying to work around it by delaying applying the plugin until an afterEvaluate block
yup that does it. I'll file an issue