Skip to content

Commit

Permalink
Bazel: Disable bzlmod explicitly in .bazelrc
Browse files Browse the repository at this point in the history
In Bazel 7.x release line, the bzlmod feature is activated per default,
so that we need to disable it. See this issue for more details: [1].

[1] bazelbuild/bazel#18958

Change-Id: Id81a1f40392b740146e344d01d96a37f7eabf7e7
  • Loading branch information
davido committed Jun 6, 2024
1 parent f45c596 commit 9823160
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# TODO(davido): Migrate all dependencies from WORKSPACE to MODULE.bazel
# https://issues.gerritcodereview.com/issues/303819949
common --noenable_bzlmod

build --workspace_status_command="python3 ./tools/workspace_status.py"
test --build_tests_only
2 changes: 2 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# TODO(davido): Migrate all dependencies from WORKSPACE to MODULE.bazel
# https://issues.gerritcodereview.com/issues/303819949

0 comments on commit 9823160

Please sign in to comment.