specify debug version for jacoco
This commit is contained in:
parent
c9d2842401
commit
f81cc9b595
|
@ -55,10 +55,9 @@ task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'crea
|
|||
|
||||
def fileFilter = ['**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', '**/*Test*.*', 'android/**/*.*']
|
||||
def debugTree = fileTree(dir: "$project.buildDir/intermediates/classes/debug", excludes: fileFilter)
|
||||
def kotlinDebugTree = fileTree(dir: "$project.buildDir/tmp/kotlin-classes/", excludes: fileFilter)
|
||||
def kotlinDebugTree = fileTree(dir: "$project.buildDir/tmp/kotlin-classes/debug", excludes: fileFilter)
|
||||
def javaMainSrc = "$project.projectDir/src/main/java"
|
||||
def kotlinMainSrc = "$project.projectDir/src/main/kotlin"
|
||||
|
||||
sourceDirectories = files([javaMainSrc, kotlinMainSrc])
|
||||
classDirectories = files([debugTree, kotlinDebugTree])
|
||||
executionData = fileTree(dir: project.buildDir, includes: [
|
||||
|
|
Loading…
Reference in New Issue