Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicilty enable bzlmod #180

Merged
merged 2 commits into from
May 23, 2024
Merged

Explicilty enable bzlmod #180

merged 2 commits into from
May 23, 2024

Conversation

saraadams
Copy link
Collaborator

While the .bazelversion we set no longer requires enabling bzlmod, users may not be using bazelisk / an older version of Bazel.

Explicitly enable bzlmod in the .bazelrc to support Bazel versions <7.

Fixes #176

While the `.bazelversion` we set no longer requires enabling
bzlmod, users may not be using bazelisk / an older version of Bazel.

Explicitly enable bzlmod in the `.bazelrc` to support Bazel versions <7.

Fixes #176

Signed-off-by: Sara Adams <sara.e.adams@gmail.com>
@@ -1,3 +1,8 @@
# Required for Bazel versions <7, where bzlmod is not enabled by default

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we also recommend using bazelisk on the README?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Signed-off-by: Sara Adams <sara.e.adams@gmail.com>
@saraadams saraadams merged commit 2eb3d6a into main May 23, 2024
3 checks passed
@saraadams saraadams deleted the sara-safer-bzlmod-bazelrc branch May 23, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get no such package '@maven//' error when running cli target
2 participants