api / org.gradle.api.plugins.quality / Pmd / 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(resources.file("config/pmd/myRuleSets.xml"))

Since
2.2