Skip to content

Instantly share code, notes, and snippets.

@marukami
Created November 12, 2018 00:28
Show Gist options
  • Save marukami/33c7c3d7cb3673e695f7b4a7cb181c87 to your computer and use it in GitHub Desktop.
Save marukami/33c7c3d7cb3673e695f7b4a7cb181c87 to your computer and use it in GitHub Desktop.
Enable JaCoCo for all Android Modules
subprojects {
afterEvaluate { project ->
BaseExtension android = project.extensions.findByName("android")
if (android != null) {
enableJacoco(project)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment