task jacoco(type: JacocoReport, dependsOn: "testDebug") { reports { xml.enabled = true html.enabled = false xml { destination "${project.rootDir}/build/reports/jacoco/${project.name}/jacoco_report.xml" } } classDirectories = fileTree( dir: './build/intermediates/classes/debug', excludes: ['**/R.class', '**/R$*.class', '**/BuildConfig.class', ]) sourceDirectories = files('src/main/java') executionD