Specify includeNoLocationClasses in another way

This commit is contained in:
Kirill Kamakin
2022-06-03 17:46:11 +02:00
parent 2e44a6e446
commit fcf1608099
2 changed files with 6 additions and 4 deletions

View File

@@ -72,6 +72,12 @@ android {
testOptions {
unitTests {
includeAndroidResources = true
all {
jacoco {
includeNoLocationClasses = true
excludes = ['jdk.internal.*']
}
}
}
}

View File

@@ -50,7 +50,3 @@ sonarqube {
property "sonar.androidLint.reportPaths", "build/reports/lint-results-debug.xml"
}
}
rootCoverage {
includeNoLocationClasses true
}