You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jon Schneider edited this page Feb 8, 2017
·
1 revision
You may substitute a rule or set of rules for those that were defined in a project's gradleLint extension object by defining the gradleLint.rules property.
For example, ./gradlew fixGradleLint -PgradleLint.rules=myrule1,myrule2. Override with multiple rules by comma separating the rule ids in the property definition.
At Netflix, we use this override feature to run a single rule against a large batch of projects. In this way, we can batch update gradle wrappers, declaratively pull projects up to a minimum version of a third party library like Guava, etc.