Created
April 27, 2018 05:47
-
-
Save jivimberg/0962942885d4db41a9dad890aba5d225 to your computer and use it in GitHub Desktop.
Jacoco on Gradle - How to verify coverage with exclusions - WRONG
This file contains 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
jacocoTestCoverageVerification { | |
violationRules { | |
rule { | |
excludes = [ | |
'com/example/my/package/*', | |
'com/example/service/MyApplication.kt', | |
'com/google/protobuf/*' | |
] | |
limit { | |
minimum = 0.79 | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment