Skip to content

Instantly share code, notes, and snippets.

@jivimberg jivimberg/build.gradle
Last active Apr 27, 2018

What would you like to do?
Jacoco on Gradle - How to verify coverage
apply plugin: "jacoco”
jacocoTestCoverageVerification {
violationRules {
rule {
limit {
minimum = 0.79
// to run coverage verification during the build (and fail when appropriate)
check.dependsOn jacocoTestCoverageVerification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.