Bazel: Provide toolchain with activated error prone warnings

On recent bazel versions it's trivial to apply package specific checks.
Provide custom java toolchain with all error prone warnings activated.

The list of all error prone warnings was borrowed from here: [1].

Test Plan:

  $ bazel build --java_toolchain //tools:error_prone_warnings_toolchain //...

[1] https://github.com/bazelbuild/BUILD_file_generator/blob/master/tools/bazel_defs/java.bzl

Change-Id: Id84fa7bf08cb550a6c8128a94efd5d9d566e175e
1 file changed
tree: 04bc127f24ffb34fd7301fb5025a5335ff90747d
  1. .settings/
  2. Documentation/
  3. java/
  4. javatests/
  5. lib/
  6. resources/
  7. tools/
  8. .bazelrc
  9. .gitignore
  10. .mailmap
  11. BUILD
  12. COPYING
  13. fake_pom_deploy.xml
  14. navbar.md
  15. README.md
  16. version.bzl
  17. WORKSPACE
README.md

Gitiles - A simple JGit repository browser

Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.

Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.

Configuration

Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.

Bugs

Use the issue tracker at github to file bugs.

Contributing to Gitiles

Please refer to the Developer Guide.