aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorMikaël Peltier <mikaelpeltier@google.com>2017-10-19 11:58:34 +0200
committerMikaël Peltier <mikaelpeltier@google.com>2017-10-19 11:58:34 +0200
commit75b182e177c4c3c278b1e3920eb11d17e5f3b4b7 (patch)
tree3551828943a9066bc228400b2c7ae0243ccae502 /build.gradle
parente2c1a9e3b0fcd30fba8e28870debadb276010aa4 (diff)
downloadr8-75b182e177c4c3c278b1e3920eb11d17e5f3b4b7.tar.gz
Enable OvershadowingSubclassFields checker
- Overshadowing fields of superclass can causes confusion and errors and is probably a good thing to avoid it. Change-Id: If73e4694ba57bf048495650b047f1943c9a5e3b1
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index e50073dc8..6dadb5c87 100644
--- a/build.gradle
+++ b/build.gradle
@@ -18,7 +18,8 @@ def errorProneConfiguration = [
'-Xep:ClassCanBeStatic:WARN',
'-Xep:OperatorPrecedence:WARN',
'-Xep:RemoveUnusedImports:WARN',
- '-Xep:MissingOverride:WARN']
+ '-Xep:MissingOverride:WARN',
+ '-Xep:OvershadowingSubclassFields:WARN']
apply from: 'copyAdditionalJctfCommonFiles.gradle'