Course Outline
Introduction
- Overview of Bazel
- Understanding the Bazel architecture
Getting Started
- Installing the Bazel runtime and launcher
- Understanding the Bazel UI
Understanding the Project Structure and Basic Building Blocks
- Project building block
- Project structure
- Concepts of a build logic
Invoking a Target From the Command Line
- Executing a target
- Commonly-used commands
- Output and cache directories
Understanding the Bazel Build Lifecycle
- Phases of the Bazel lifecycle
- Configuration file
- Programming language rules
Using Bazel Basic Automation For Java
- Setting up a Java project
- Building a Java project
- Running the build from the command line
- Inspecting the generated artifact
- Deploying the Java project
- Driving Bazel from the IDE
- Using Bazel in IntelliJ
Bazel Dependency Management
- Modeling fine-grained package granularity and dependencies
- Declaring external dependencies
- Declaring an external library and using it in a code
- Declaring the JUnit dependency
- Publishing a JAR to a Maven repository
- Publishing a Java library to local Maven
Testing Automation
- Performing automated tests
- Executing JUnit tests
Advanced Bazel
- Extension concepts
- Writing and executing a genrule
- Remote caching and execution
- Build stamping
- Bazel query
- Java toolchains
Troubleshooting
Summary and Next Steps
Requirements
- Knowledge and experience with the build system concept
- Basic understanding of the Java programming language
Audience
- Software developers
Delivery Options
Private Group Training
Our identity is rooted in delivering exactly what our clients need.
- Pre-course call with your trainer
- Customisation of the learning experience to achieve your goals -
- Bespoke outlines
- Practical hands-on exercises containing data / scenarios recognisable to the learners
- Training scheduled on a date of your choice
- Delivered online, onsite/classroom or hybrid by experts sharing real world experience
Private Group Prices RRP from £3800 online delivery, based on a group of 2 delegates, £1200 per additional delegate (excludes any certification / exam costs). We recommend a maximum group size of 12 for most learning events.
Contact us for an exact quote and to hear our latest promotions
Public Training
Please see our public courses
Testimonials (1)
- The trainer's willingness to answer out questions and to help us with the issues - The initial basic part of the course, where the trainer gave us initial information to prepare us for the examples