clean task available by default in all modules, it lifecycle task, which used as hook for all other cleanup tasks
But I don't want to say that existing behavior of AGP is good. I would prefer if standard lifecycle task test would work for all flavors, but it causes a lot of questions how it should work for flavors, flavor may change test input, so I think this why it works like that. But on practice it usually fine to run tests for some default flavor
gildor
05/24/2020, 4:30 PM
Test works because it default lifecycle task, version with UnitTest is a task generated by AGP
u
ursus
05/24/2020, 4:30 PM
yea, I thought
testDebugUnitTest
was that, I only now realized it wasnt running the top level module tests, smh