Skip to content

Add a MODULE.bazel in order to support for bzlmod #9559

@shs96c

Description

@shs96c

Is your feature request related to a problem?

In Bazel 6, a new feature called bzlmod will ship. This is like a "package manager for Bazel rulesets", and using it avoids a lot of setup work being need to be done in a WORKSPACE.

Describe the solution you'd like

When run, bzlmod looks for rulesets on the Bazel Central Registry. Once the MODULE.bazel is added to this project, it can then be registered with the BCR, and then people can start using it from the modularised builds.

Describe alternatives you've considered

There are no alternatives at the moment.

Additional context

While there are workarounds to get things working, it would be nice if this was available before Bazel 6 is released, so projects can migrate to using bzlmod ASAP.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions