Specify includeNoLocationClasses in another way
This commit is contained in:
@@ -72,6 +72,12 @@ android {
|
|||||||
testOptions {
|
testOptions {
|
||||||
unitTests {
|
unitTests {
|
||||||
includeAndroidResources = true
|
includeAndroidResources = true
|
||||||
|
all {
|
||||||
|
jacoco {
|
||||||
|
includeNoLocationClasses = true
|
||||||
|
excludes = ['jdk.internal.*']
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,3 @@ sonarqube {
|
|||||||
property "sonar.androidLint.reportPaths", "build/reports/lint-results-debug.xml"
|
property "sonar.androidLint.reportPaths", "build/reports/lint-results-debug.xml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rootCoverage {
|
|
||||||
includeNoLocationClasses true
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user