Bazel

JFrog Artifactory provides native support for the modern Bazel Modules (Bzlmod) system, delivering a secure, centralized repository to cache and control your module dependencies for Bazel 9Read More >

complianceRead Less >

Bazel Integration Features

Related Resources
Documentation

ARTIFACTORY: Integrate Artifactory with Bazel

Frequently Asked Questions

What is required to set up the Bazel integration?

To integrate Bazel with Artifactory, you need access to a running Bazel environment (it is recommended to use Bazelisk) and access to your JFrog Artifactory instance (Self-Hosted or Cloud) with permissions to create repositories and user credentials for pushing and pulling artifacts.

Is this new integration necessary for future Bazel versions?

Yes. This integration is essential for organizations preparing for the upcoming Bazel 9 release, which mandates the use of Bazel Modules by completely removing the legacy WORKSPACE system for dependency management.

How is authentication handled when Bazel connects to Artifactory?

The Bazel CLI supports standard authentication methods for accessing the Artifactory repository. When setting up the remote cache or resolving Maven dependencies, you typically include your username and token/password directly in the URL used by the Bazel command line. 

About Bazel

Bazel is an open-source build and test tool similar to Make, Maven, and Gradle. It uses a human-readable, high-level build language. Bazel supports projects in multiple languages and builds outputs for multiple platforms. Bazel supports large codebases across multiple repositories, and large numbers of users