Class PmdConvention

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

public final class PmdConvention extends Object
Spring Quickstart defaults for the Gradle pmd plugin (built-in quality plugin).
  • Field Details

    • RULESET_RESOURCE_PATH

      public static final String RULESET_RESOURCE_PATH
      Classpath location of PMD's ruleset (under src/main/resources in this project). Consumer projects do not need a copy; the ruleset ships inside the DevKit plugin jar.
      See Also:
    • PMD_MIN_PRIORITY_LOWER_BOUND

      public static final int PMD_MIN_PRIORITY_LOWER_BOUND
      Inclusive lower bound on pmdRulesMinPriority.
      See Also:
    • PMD_MIN_PRIORITY_UPPER_BOUND

      public static final int PMD_MIN_PRIORITY_UPPER_BOUND
      Inclusive upper bound on pmdRulesMinPriority.
      See Also:
  • Method Details

    • configure

      public static void configure(org.gradle.api.Project project, SpringQuickstartExtension devkit)
      Configures PmdExtension with DevKit defaults. Rule selection and exclusions are defined only in the bundled "io/gitlab/ntduycse/pmd/rulesets.xml" file.
      Parameters:
      project - the project
      devkit - the devkit extension