Bazel Modules Repositories

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

Bazel is an open-source build tool from Google. Bazel supports remote caching, working as a solution in JFrog Artifactory for storing build artifacts, build metadata, and dependency resolution. You can use Bazel repositories in Artifactory to cache and proxy the public Bazel Central Registry (BCR). This makes sure that developers pull approved and vetted dependencies, enhancing supply chain security and guarantees consistent builds. Integrate Bazel with Artifactory for streamlined software development and robust artifact management. For more information, see the Bazel documentation.

package_management_images_for_Bazel.png

Artifactory supports the following capabilities for Bazel Module repositories:

  • Security and Authentication: Authenticate to your Bazel repository in Artifactory for secure access to your proxy and cache of the BCR.

  • CLI Support: Use Bazel CLI to natively manage modules, relying on the MODULE.bazel file to resolve dependencies from the Artifactory remote repository.

  • Bazel 9 Readiness: Bazel repositories in Artifactory support the Bazel 9-mandated removal of the legacy WORKSPACE system and use of Bazel modules (bzlmod) for dependency management.