Package io.gitlab.ntduycse.convention
Class JacocoConvention
java.lang.Object
io.gitlab.ntduycse.convention.JacocoConvention
DevKit defaults for the Gradle
JacocoPlugin (built-in).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BigDecimalInclusive lower bound oncoverageThreshold.static final BigDecimalInclusive upper bound oncoverageThreshold. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigure(org.gradle.api.Project project, SpringQuickstartExtension ext) ConfiguresjacocoTestReportandjacocoTestCoverageVerificationwhen the JaCoCo plugin is on the project (DevKit applies it together withJavaPlugin).
-
Field Details
-
COVERAGE_THRESHOLD_LOWER_BOUND
Inclusive lower bound oncoverageThreshold. -
COVERAGE_THRESHOLD_UPPER_BOUND
Inclusive upper bound oncoverageThreshold.
-
-
Method Details
-
configure
ConfiguresjacocoTestReportandjacocoTestCoverageVerificationwhen the JaCoCo plugin is on the project (DevKit applies it together withJavaPlugin).- Parameters:
project- the projectext- the ext extension
-