commit | d654510664a7359680e952b8cd5b77ee6e8bad8c | [log] [tgz] |
---|---|---|
author | iirina <elenairina@google.com> | Tue May 21 06:53:59 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue May 21 06:55:11 2019 -0700 |
tree | 8cfb1dc6e5663e1a4aab840b94dc519dcad381fc | |
parent | 6f52cf344967a94c7b4cf97fc6502f95455fec90 [diff] |
Add jacocorunner to java_toolchain. The jacoco runner was previously retrieved via an implicit attribute `$jacocorunner` on the `java_binary` and `java_test` rules. Retrieving the runner via the implicit attribute makes testing the tools in the `java_tools` release difficult and inconsistent (almost all other tools are defined via `java_toolchain`). This PR makes `jacocorunner` part of `java_toolchain`. If `jacocorunner` is not found in the toolchain it falls back to the `$jacocorunner` attribute. The fallback behavior can be removed after a bazel release with this change. Closes #8378. PiperOrigin-RevId: 249241175
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.