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.

getRuleSets

The built-in rule sets to be used. See the official list of built-in rule sets. If not configured explicitly, the returned conventional value is "category/java/errorprone.xml", unless getRuleSetConfig returns a non-null value or the return value of getRuleSetFiles is non-empty, in which case the conventional value is an empty list.

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

Since

1.0