Merge pull request #2978 from buessow/cover

Set testCoverageEnabled=false in wear.
This commit is contained in:
Milos Kozak 2023-10-25 11:19:52 +02:00 committed by GitHub
commit 0c1b3afdce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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") {