Fix coverage calculation. Exclude test class files which were incorrectly included in the calculation.
@@ -103,9 +103,7 @@ configure(subprojects) {
def excludes = ['**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/proto/**', '**Manifest*.*']
classDirectories = files([
fileTree(dir: "$buildDir/intermediates/javac/release", excludes: excludes),
- fileTree(dir: "$buildDir/intermediates/javac/releaseUnitTest", excludes: excludes),
fileTree(dir: "$buildDir/tmp/kotlin-classes/release", excludes: excludes),
- fileTree(dir: "$buildDir/tmp/kotlin-classes/releaseUnitTest", excludes: excludes),
])
sourceDirectories = files(['src/main/java', 'src/main/kotlin'])
executionData = fileTree(dir: "$buildDir", includes: ['jacoco/*.exec'])
