Skip to content

Commit 54910de

Browse files
authored
bzlmod support (#11)
1 parent 7f11c3e commit 54910de

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
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

Lines changed: 4 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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)