Correct, reproducible, fast builds for everyone

What is Bazel?

Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment.

Bazel is a tool in the Java Build Tools category of a tech stack.

Bazel is an open source tool with 11.7K Github Stars and 1.89K Github Forks. Here’s a link to Bazel's open source repository on Github

Who Uses Bazel?

11 companies use Bazel including Square, Asana, and Google.

Bazel integrates with

Why people like Bazel

Here’s a list of reasons why companies and developers use Bazel.

Add a one-liner

Bazel's Features

  • Multi-language support: Bazel supports Java, Objective-C and C++ out of the box, and can be extended to support arbitrary programming languages.
  • High-level build language: Projects are described in the BUILD language, a concise text format that describes a project as sets of small interconnected libraries, binaries and tests. By contrast, with tools like Make you have to describe individual files and compiler invocations.
  • Multi-platform support: The same tool and the same BUILD files can be used to build software for different architectures, and even different platforms. At Google, we use Bazel to build both server applications running on systems in our data centers and client apps running on mobile phones.
  • Reproducibility: In BUILD files, each library, test, and binary must specify its direct dependencies completely. Bazel uses this dependency information to know what must be rebuilt when you make changes to a source file, and which tasks can run in parallel. This means that all builds are incremental and will always produce the same result.
  • Scalable: Bazel can handle large builds
  • at Google, it is common for a server binary to have 100k source files, and builds where no files were changed take about ~200ms.

Bazel's alternatives

  • Gradle - A powerful build system for the JVM
  • Apache Maven - Apache build manager for Java projects.
  • Sonatype Nexus - The world's best way to organize, store, and distribute software components
  • Apache Ant - Java based build tool
  • JitPack - JitPack builds GitHub Gradle and Maven projects on demand and provides ready-to-use packages

See all alternatives to Bazel

Explore other Build, Test, Deploy tools that are known for: