2018-02-05 18:23:15 +00:00
|
|
|
workspace(name = "com_github_google_flatbuffers")
|
|
|
|
|
2018-12-10 20:23:40 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
2019-02-14 21:05:46 +00:00
|
|
|
|
2018-12-10 20:23:40 +00:00
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_go",
|
2020-11-12 18:04:34 +00:00
|
|
|
sha256 = "d1ffd055969c8f8d431e2d439813e42326961d0942bdf734d2c95dc30c369566",
|
2019-06-20 17:25:41 +00:00
|
|
|
urls = [
|
2020-11-12 18:04:34 +00:00
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
|
2019-06-20 17:25:41 +00:00
|
|
|
],
|
2018-12-10 20:23:40 +00:00
|
|
|
)
|
2019-02-14 21:05:46 +00:00
|
|
|
|
2020-07-21 18:08:01 +00:00
|
|
|
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
|
2019-02-14 21:05:46 +00:00
|
|
|
|
2018-12-10 20:23:40 +00:00
|
|
|
go_rules_dependencies()
|
2019-02-14 21:05:46 +00:00
|
|
|
|
2018-12-10 20:23:40 +00:00
|
|
|
go_register_toolchains()
|
2020-06-26 22:39:23 +00:00
|
|
|
|
2020-07-21 18:08:01 +00:00
|
|
|
##### Protobuf
|
2021-03-25 19:12:35 +00:00
|
|
|
_PROTOBUF_VERSION = "3.15.2"
|
2020-07-21 18:08:01 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_google_protobuf",
|
|
|
|
strip_prefix = "protobuf-" + _PROTOBUF_VERSION,
|
|
|
|
urls = [
|
|
|
|
"https://github.com/protocolbuffers/protobuf/archive/v" + _PROTOBUF_VERSION + ".tar.gz",
|
|
|
|
],
|
|
|
|
)
|
2020-06-26 22:39:23 +00:00
|
|
|
|
|
|
|
##### GRPC
|
2021-03-25 19:12:35 +00:00
|
|
|
_GRPC_VERSION = "1.36.1"
|
2020-06-26 22:39:23 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_grpc_grpc",
|
|
|
|
strip_prefix = "grpc-" + _GRPC_VERSION,
|
|
|
|
urls = ["https://github.com/grpc/grpc/archive/v" + _GRPC_VERSION + ".tar.gz"],
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
|
|
|
|
|
|
|
|
grpc_deps()
|
2021-03-25 19:12:35 +00:00
|
|
|
|
|
|
|
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
|
|
|
|
|
|
|
|
grpc_extra_deps()
|