Skip to content

Commit c7a0b61

Browse files
authored
Bazel: bzlmod support (#10)
1 parent 6113588 commit c7a0b61

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.bazelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel
2+
# https://github.com/protocolbuffers/protobuf/issues/14313
3+
common --noenable_bzlmod

MODULE.bazel

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module(name = "protobuf_javascript_gonzojive", version = "3.21.5")
2+
3+
bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf")
4+
bazel_dep(name = "rules_pkg", version = "0.7.0")

WORKSPACE.bzlmod

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# When Bzlmod is enabled, this file replaces the content of the original WORKSPACE and
2+
# makes sure no WORKSPACE prefix or suffix are added when Bzlmod is enabled.

0 commit comments

Comments
 (0)