Skip to content

Commit 9512489

Browse files
committed
Enable bzlmod explicitly
1 parent eab8828 commit 9512489

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.bazelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,10 @@ startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
2525
# Docs: https://bazel.build/reference/command-line-reference#flag--enable_runfiles
2626
build --enable_runfiles
2727

28+
# Enable the Bzlmod dependency management system.
29+
# This is enabled by default as of Bazel 7.0 but leave it here as BCR CI runs tests on Bazel 6.x.
30+
# Docs: https://bazel.build/reference/command-line-reference#flag--enable_bzlmod
31+
common --enable_bzlmod
32+
2833
# This bazelrc file can be used for user-specific custom build settings.
2934
try-import %workspace%/.user.bazelrc

0 commit comments

Comments
 (0)