From 372aa6d83035fb6d0bda2a2a8acaf0ce1825d4ba Mon Sep 17 00:00:00 2001 From: Kristen Kozak Date: Wed, 13 Jun 2018 16:28:51 -0700 Subject: Error Prone: 2.2.0 -> 2.3.1 This commit contains several other changes as part of the upgrade: - Use -XepAllDisabledChecksAsWarnings to enable all available warnings so that we don't need to enable each warning explicitly. - Remove explicit suppression of warnings in generated code, since -XepDisableWarningsInGeneratedCode is now sufficient to suppress all warnings in AutoValue and Protocol Buffer generated classes. - Remove a suppression of "ConstructorLeaksThis", since https://github.com/google/error-prone/pull/789 was fixed. - Fix a few occurrences of "FieldCanBeFinal". --- .travis.yml | 7 ------- 1 file changed, 7 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index a7fb171a..0f06f5cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,13 +67,6 @@ matrix: before_install: - git log --oneline --decorate --graph -30 - - if \[ "$TASK" == "BUILD" \]; then - mkdir -p $HOME/.gradle ; - cat gradle/errorprone/warnings > $HOME/.gradle/gradle.properties ; - cat gradle/errorprone/experimental_errors >> $HOME/.gradle/gradle.properties ; - cat gradle/errorprone/experimental_warnings >> $HOME/.gradle/gradle.properties ; - cat gradle/errorprone/experimental_suggestions >> $HOME/.gradle/gradle.properties ; - fi - if \[ "$TASK" == "BUILD_EXAMPLES_BAZEL" \]; then echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list ; curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - ; -- cgit v1.2.3