commit | 4c33f70d5a591f4572b32186b39de4344d8bfe65 | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@gmail.com> | Sun May 26 17:47:08 2019 +0900 |
committer | David Pursehouse <david.pursehouse@gmail.com> | Sun May 26 17:47:08 2019 +0900 |
tree | 171bad49953bf5971431976d767a30279aaf9071 | |
parent | a4f5fc1572341816c636dbe20662f0efbed7dbd4 [diff] [blame] |
Enable error-prone checks by default Based on recent work by Dave Borowitz on the Gerrit project [1, 2]. The warnings/error configuration is unchanged, but now the checks are enabled by default during the build rather than having to be manually invoked. [1] https://gerrit-review.googlesource.com/c/gerrit/+/225653 [2] https://gerrit-review.googlesource.com/c/gerrit/+/225714 Change-Id: I7f4849896af72de38880b13d64519cc93bb3d2a3 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
diff --git a/.bazelrc b/.bazelrc index 2a990c7..3a61f8c 100644 --- a/.bazelrc +++ b/.bazelrc
@@ -2,6 +2,7 @@ build --experimental_strict_action_env build --action_env=PATH build --disk_cache=~/.gerritcodereview/bazel-cache/cas +build --java_toolchain //tools:error_prone_warnings_toolchain test --build_tests_only test --test_output=errors