Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
833 B

"""Loads the dependencies necessary for the external repositories defined in protobuf_deps.bzl.
The consumers should use the following WORKSPACE snippet, which loads dependencies
and sets up the repositories protobuf needs:
```
http_archive(
name = "com_google_protobuf",
strip_prefix = "protobuf-VERSION",
sha256 = ...,
url = ...,
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
load("@com_google_protobuf//:protobuf_extra_deps.bzl", "protobuf_extra_deps")
protobuf_extra_deps();
```
"""
load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
def protobuf_extra_deps():
"""Loads extra dependencies needed for the external repositories defined in protobuf_deps.bzl."""
rules_java_dependencies()
rules_java_toolchains()