summaryrefslogtreecommitdiffstats
path: root/.bazelrc
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2024-04-28 19:17:41 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-04-28 19:40:29 +0200
commit4f735ec3eb36378cc2a283b0d953244af33b9eb6 (patch)
treede0ad441c39d64a6c68716155247b5ee3dbaa5b5 /.bazelrc
parent567315af548017cc58eadb91bba493b74c391009 (diff)
downloadjgit-4f735ec3eb36378cc2a283b0d953244af33b9eb6.tar.gz
jgit-4f735ec3eb36378cc2a283b0d953244af33b9eb6.zip
Bump Bazel version to 7.1.1
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]. Test plan: $> bazel test //... [1] https://github.com/bazelbuild/bazel/issues/18958 Change-Id: I2526d93020c5d82314a09206907ebeed6f1a1700
Diffstat (limited to '.bazelrc')
-rw-r--r--.bazelrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc
index 5e1df6291d..8324680c96 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,3 +1,7 @@
+# TODO(davido): Migrate all dependencies from WORKSPACE to MODULE.bazel
+# https://issues.gerritcodereview.com/issues/303819949
+common --noenable_bzlmod
+
build --workspace_status_command="python ./tools/workspace_status.py"
build --repository_cache=~/.gerritcodereview/bazel-cache/repository
build --experimental_strict_action_env