@Incubating interface JacocoViolationRulesContainer
The violation rules configuration for the org.gradle.testing.jacoco.tasks.JacocoReport task.
Since
3.4
abstract fun getRules(): MutableList<JacocoViolationRule>
Gets all violation rules. Defaults to an empty list. |
|
abstract fun isFailOnViolation(): Boolean
Specifies whether build should fail in case of rule violations. Defaults to true. |
|
abstract fun rule(configureAction: Action<in JacocoViolationRule>): JacocoViolationRule
Adds a violation rule. Any number of rules can be added. |
|
abstract fun setFailOnViolation(ignore: Boolean): Unit
Indicates whether build should fail in case of rule violation. |