diff options
author | Stephan Herhut <herhut@google.com> | 2017-10-25 13:59:55 +0200 |
---|---|---|
committer | Stephan Herhut <herhut@google.com> | 2017-10-25 13:59:55 +0200 |
commit | eeae1e814d489c39da7b3b01538c0ac5b790d48a (patch) | |
tree | c7db42bbee39af49adc5b1e25269270cab5b20ab /build.gradle | |
parent | 05c52553a7e587306dc771529efddaf96417f20a (diff) | |
download | r8-eeae1e814d489c39da7b3b01538c0ac5b790d48a.tar.gz |
Enable more ErrorProne checks.
Bug:
Change-Id: I1c16b0485a1549d251d9d900b7afca98a57fea15
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index e189e578d..9299592c7 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,16 @@ def errorProneConfiguration = [ '-Xep:MissingOverride:WARN', '-Xep:OvershadowingSubclassFields:WARN', '-Xep:IntLongMath:WARN', - '-Xep:EqualsHashCode:WARN'] + '-Xep:EqualsHashCode:WARN', + '-Xep:ArrayHashCode:WARN', + '-Xep:EqualsIncompatibleType:WARN', + '-Xep:NonOverridingEquals:WARN', + '-Xep:FallThrough:WARN', + '-Xep:MissingCasesInEnumSwitch:WARN', + '-Xep:MissingDefault:WARN', + '-Xep:MultipleTopLevelClasses:WARN', + '-Xep:NarrowingCompoundAssignment:WARN', + '-Xep:BoxedPrimitiveConstructor:WARN'] apply from: 'copyAdditionalJctfCommonFiles.gradle' |