From f81cc9b595e243223fdc0d4f684393734774b993 Mon Sep 17 00:00:00 2001 From: Matthieu <61561059+Wv5twkFEKh54vo4tta9yu7dHa3@users.noreply.github.com> Date: Sat, 29 Feb 2020 14:09:20 +0100 Subject: [PATCH] specify debug version for jacoco --- app/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d3959fcb..d52bd54f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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: [