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:
parent
5fd2db9706
commit
5925dc9586
1 changed files with 12 additions and 0 deletions
|
@ -50,6 +50,18 @@ android {
|
||||||
buildConfigField("String", "BUILDVERSION", "\"${generateGitBuild()}-${generateDate()}\"")
|
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")
|
flavorDimensions.add("standard")
|
||||||
productFlavors {
|
productFlavors {
|
||||||
create("full") {
|
create("full") {
|
||||||
|
|
Loading…
Reference in a new issue