mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
|
|
diff --git a/MODULE.bazel b/MODULE.bazel
|
||
|
|
index 2d43e46df..f9c726c5a 100644
|
||
|
|
--- a/MODULE.bazel
|
||
|
|
+++ b/MODULE.bazel
|
||
|
|
@@ -1,2 +1,26 @@
|
||
|
|
# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel
|
||
|
|
# https://github.com/protocolbuffers/protobuf/issues/14313
|
||
|
|
+
|
||
|
|
+module(
|
||
|
|
+ name = "com_google_protobuf_v25",
|
||
|
|
+ version = "25.0",
|
||
|
|
+ compatibility_level = 1,
|
||
|
|
+)
|
||
|
|
+
|
||
|
|
+# LOWER BOUND dependency versions.
|
||
|
|
+# Bzlmod follows MVS:
|
||
|
|
+# https://bazel.build/versions/6.0.0/build/bzlmod#version-resolution
|
||
|
|
+# Thus the highest version in their module graph is resolved.
|
||
|
|
+bazel_dep(name = "abseil-cpp", version = "20230802.0.bcr.1", repo_name = "com_google_absl")
|
||
|
|
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
|
||
|
|
+bazel_dep(name = "jsoncpp", version = "1.9.5")
|
||
|
|
+bazel_dep(name = "rules_cc", version = "0.0.9")
|
||
|
|
+bazel_dep(name = "rules_java", version = "4.0.0")
|
||
|
|
+bazel_dep(name = "rules_jvm_external", version = "5.1")
|
||
|
|
+bazel_dep(name = "rules_pkg", version = "0.7.0")
|
||
|
|
+bazel_dep(name = "rules_python", version = "0.10.2")
|
||
|
|
+bazel_dep(name = "platforms", version = "0.0.8")
|
||
|
|
+bazel_dep(name = "zlib", version = "1.2.11")
|
||
|
|
+
|
||
|
|
+# TODO: remove after toolchain types are moved to protobuf
|
||
|
|
+bazel_dep(name = "rules_proto", version = "4.0.0")
|