gradle
8.6

# getRuleSets

open fun getRuleSets(): List<String>(source)

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"]

Content copied to clipboard