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]>

add devcontainer
  • Loading branch information
mmorel-35 committed Feb 26, 2024
1 parent c21ec2e commit 22e9a09
Show file tree
Hide file tree
Showing 3 changed files with 1,853 additions and 127 deletions.
14 changes: 14 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,17 @@
#
# 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")
# -- bazel_dep definitions -- #

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 22e9a09

Please sign in to comment.