]> source.dussan.org Git - jgit.git/commitdiff
Bump Bazel version to 7.1.1 80/204980/7
authorDavid Ostrovsky <david@ostrovsky.org>
Sun, 28 Apr 2024 17:17:41 +0000 (19:17 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 28 Apr 2024 17:40:29 +0000 (19:40 +0200)
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

.bazelrc
.bazelversion
MODULE.bazel [new file with mode: 0644]

index 5e1df6291d763dbf7854489b89e22ba82a2fc862..8324680c961ef574abac65ab9973848bf746f702 100644 (file)
--- 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
index 91e4a9f2622445cdde5b075e2f7d95e245821b59..21c8c7b46b8993bd95ff730695cad0d26e4239f3 100644 (file)
@@ -1 +1 @@
-6.3.2
+7.1.1
diff --git a/MODULE.bazel b/MODULE.bazel
new file mode 100644 (file)
index 0000000..0b932b8
--- /dev/null
@@ -0,0 +1,2 @@
+# TODO(davido): Migrate all dependencies from WORKSPACE to MODULE.bazel
+# https://issues.gerritcodereview.com/issues/303819949