Skip to content

Instantly share code, notes, and snippets.

@th-deng
Created Jan 23, 2020
Embed
What would you like to do?
Config JacocoTaskExtension
// groovy DSL
test {
jacoco {
destinationFile = file("$buildDir/jacoco/jacoco.exec")
}
}
// kotlin DSL
tasks.test {
extensions.configure(JacocoTaskExtension::class) {
destinationFile = file("$buildDir/jacoco/jacoco.exec")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment