Created
November 12, 2018 00:28
-
-
Save marukami/33c7c3d7cb3673e695f7b4a7cb181c87 to your computer and use it in GitHub Desktop.
Enable JaCoCo for all Android Modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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