Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 375 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 375 Bytes

See https://github.com/jansauer/gradle-print-coverage-plugin

Usage

jacocoTestReport {
    enabled = true
    reports {
        xml.isEnabled = true
    }
}

jacocoPrintCoverageStatus {
    finalizedBy(jacocoTestCoverageVerification)
}

jacocoTestCoverageVerification {
    violationRules {
        rule { limit { minimum = "0.7".toBigDecimal() } }
    }
}