Class JacocoConvention

java.lang.Object
io.gitlab.ntduycse.convention.JacocoConvention

public final class JacocoConvention extends Object
DevKit defaults for the Gradle JacocoPlugin (built-in).
  • Field Details

    • COVERAGE_THRESHOLD_LOWER_BOUND

      public static final BigDecimal COVERAGE_THRESHOLD_LOWER_BOUND
      Inclusive lower bound on coverageThreshold.
    • COVERAGE_THRESHOLD_UPPER_BOUND

      public static final BigDecimal COVERAGE_THRESHOLD_UPPER_BOUND
      Inclusive upper bound on coverageThreshold.
  • Method Details

    • configure

      public static void configure(org.gradle.api.Project project, SpringQuickstartExtension ext)
      Configures jacocoTestReport and jacocoTestCoverageVerification when the JaCoCo plugin is on the project (DevKit applies it together with JavaPlugin).
      Parameters:
      project - the project
      ext - the ext extension