Set testCoverageEnabled=false in wear.

Setting this to true conflicts with the jacoco plugin and causes no coverage reporting. Not sure why this is only a problem in the wear subproj.
This commit is contained in:
Robert Buessow 2023-10-24 23:22:45 +02:00
parent 5fd2db9706
commit 5925dc9586

View file

@ -50,6 +50,18 @@ android {
buildConfigField("String", "BUILDVERSION", "\"${generateGitBuild()}-${generateDate()}\"")
}
android {
buildTypes {
debug {
enableUnitTestCoverage = true
// Disable androidTest coverage, since it performs offline coverage
// instrumentation and that causes online (JavaAgent) instrumentation
// to fail in this project.
enableAndroidTestCoverage = false
}
}
}
flavorDimensions.add("standard")
productFlavors {
create("full") {