anybody ever have issues with unit test compilatio...
# android
t
anybody ever have issues with unit test compilation failing due to missing references to anything in the main module? I am stuck adding blocks like this to ensure that the tasks run in the correct order without overlap thus avoiding the issue.
Copy code
afterEvaluate {
    android.libraryVariants.all { variant ->
        tasks.findByName("compile${variant.name.capitalize()}UnitTestKotlin")
                .dependsOn("compile${variant.name.capitalize()}KotlinAfterJava")
    }
}