Package io.gitlab.ntduycse.convention
Class PmdConvention
java.lang.Object
io.gitlab.ntduycse.convention.PmdConvention
Spring Quickstart defaults for the Gradle
pmd plugin (built-in quality plugin).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringClasspath location of PMD's ruleset (undersrc/main/resourcesin this project). -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigure(org.gradle.api.Project project, SpringQuickstartExtension devkit) ConfiguresPmdExtensionwith DevKit defaults.
-
Field Details
-
RULESET_RESOURCE_PATH
Classpath location of PMD's ruleset (undersrc/main/resourcesin this project). Consumer projects do not need a copy; the ruleset ships inside the DevKit plugin jar.- See Also:
-
-
Method Details
-
configure
ConfiguresPmdExtensionwith DevKit defaults. Rule selection and exclusions are defined only in the bundled "io/gitlab/ntduycse/pmd/rulesets.xml" file.- Parameters:
project- the projectdevkit- the devkit extension
-