One of the newer players in the build tool field is Bazel, the open source variant of Google’s powerful internal build tool Blaze. After years of refinement, the first production-ready version, Bazel 1.0, was released in October 2019. Is this tool right for your organization? This report explores the use cases, features, and usability concerns of Bazel, including its benefits and shortcomings.
Author Benjamin Muschko uses concrete Java-based examples to give you a first taste of Bazel’s syntax and functionality. The report also covers advanced features like remote caching and execution. You’ll be able to determine hands-on if Bazel is a good fit for your organization and come away with the knowledge and resources to start using this versatile, polyglot build tool for your project.
- Set up a Java-based project, compile the source code, and run the application
- Define dependencies on other packages and external libraries
- Perform automated tests for Java test code
- Extend Bazel’s built-in capabilities by custom functionality
- Improve build performance and scalability through remote caching and execution
- Execute Bazel projects on continuous integration servers