More missing version changes
[platform/upstream/flatbuffers.git] / WORKSPACE
1 workspace(name = "com_github_google_flatbuffers")
2
3 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4
5 http_archive(
6     name = "io_bazel_rules_go",
7     sha256 = "d1ffd055969c8f8d431e2d439813e42326961d0942bdf734d2c95dc30c369566",
8     urls = [
9         "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
10         "https://github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
11     ],
12 )
13
14 load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
15
16 go_rules_dependencies()
17
18 go_register_toolchains()
19
20 ##### Protobuf
21 _PROTOBUF_VERSION = "3.15.2"
22
23 http_archive(
24     name = "com_google_protobuf",
25     strip_prefix = "protobuf-" + _PROTOBUF_VERSION,
26     urls = [
27         "https://github.com/protocolbuffers/protobuf/archive/v" + _PROTOBUF_VERSION + ".tar.gz",
28     ],
29 )
30
31 ##### GRPC
32 _GRPC_VERSION = "1.36.1"
33
34 http_archive(
35     name = "com_github_grpc_grpc",
36     strip_prefix = "grpc-" + _GRPC_VERSION,
37     urls = ["https://github.com/grpc/grpc/archive/v" + _GRPC_VERSION + ".tar.gz"],
38 )
39
40 load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
41
42 grpc_deps()
43
44 load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
45
46 grpc_extra_deps()