For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

setRuleSets

open fun setRuleSets(ruleSets: List<String>)(source)

The built-in rule sets to be used. See the official list of built-in rule sets.

    ruleSets = ["category/java/errorprone.xml", "category/java/bestpractices.xml"]

Since

1.0