Interface JacocoViolationRulesContainer


  • public interface JacocoViolationRulesContainer
    The violation rules configuration for the JacocoReport task.
    Since:
    3.4
    • Method Detail

      • setFailOnViolation

        void setFailOnViolation​(boolean ignore)
        Indicates whether build should fail in case of rule violation.
        Parameters:
        ignore - Only render violation but do not fail build
      • isFailOnViolation

        @Input
        boolean isFailOnViolation()
        Specifies whether build should fail in case of rule violations. Defaults to true.