Skip to content

Commit

Permalink
Bazel: add MODULE.bazel files for bzlmod
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 committed Mar 1, 2024
1 parent c21ec2e commit 3cb41b1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1,267 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*.svg
cover.out
/bazel-*
MODULE.bazel.lock
13 changes: 13 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,16 @@
#
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################
module(name = "protovalidate", version = "0.6.1", repo_name = "com_github_bufbuild_protovalidate")

bazel_dep(name = "gazelle", version = "0.29.0", repo_name = "bazel_gazelle")
bazel_dep(name = "protobuf", version = "23.1", repo_name = "com_google_protobuf")
bazel_dep(name = "rules_buf", version = "0.2.0")
bazel_dep(name = "rules_go", version = "0.39.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")

buf = use_extension("@rules_buf//buf:extensions.bzl", "buf")
buf.toolchains(version = "v1.28.0")

go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.20.4")
Loading

0 comments on commit 3cb41b1

Please sign in to comment.