Merge pull request #2978 from buessow/cover
Set testCoverageEnabled=false in wear.
This commit is contained in:
commit
0c1b3afdce
1 changed files with 12 additions and 0 deletions
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue