api / org.gradle.api.plugins.quality / PmdExtension / setRuleSetConfig

setRuleSetConfig

@Incubating open fun setRuleSetConfig(ruleSetConfig: TextResource): Unit

The custom rule set to be used (if any). Replaces ruleSetFiles, except that it does not currently support multiple rule sets. See the official documentation for how to author a rule set. Example: ruleSetConfig = resources.text.fromFile("config/pmd/myRuleSet.xml")

Since
2.2