Create a Bazel Modules Repository

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

This topic describes how to create a Bazel Modules repository. This is required before resolving Bazel modules. Artifactory supports remote Bazel Module repositories, allowing you to resolve dependencies from your secure cache.

For more information on JFrog repositories, see Repository Management Overview.

Prerequisite: You need Admin or Project Admin permissions in Artifactory to create a repository.

To create a Bazel Modules repository:

  1. In the Administration tab, click Repositories | Create a Repository.

    create_remote.png
  2. Select the Remote repository type.

  3. Select the Bazel Modules package type.

  4. Configure the required fields for the repository:

    • In the Repository Key field, type a meaningful name for the repository. For example, bazel-remote.

    • Verify the Repository URL and update as needed.

      For more information on remote repositories and their settings, see Remote Repositories.

  5. Click Create Repository. The repository is created and the Repositories window is displayed.