-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
68 lines (52 loc) · 2.04 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
workspace(name = "com_github_sluongng_ugazelle")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "ab21448cef298740765f33a7f5acee0607203e4ea321219f2a4c85a6e0fb0a27",
urls = [
"https://github.com/bazelbuild/rules_go/releases/download/v0.33.0/rules_go-v0.33.0.zip",
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.33.0/rules_go-v0.33.0.zip",
],
)
http_archive(
name = "bazel_gazelle",
sha256 = "f6106c32be529175506e8ae334a8815e9d65821bb1f95682078bfd74ed148045",
strip_prefix = "bazel-gazelle-b81a7ba1d8cbab5b603c76e30333ea4b97df07d6",
urls = [
"https://github.com/bazelbuild/bazel-gazelle/archive/b81a7ba1d8cbab5b603c76e30333ea4b97df07d6.zip",
],
)
http_archive(
name = "com_google_protobuf",
sha256 = "a295dd3b9551d3e2749a9969583dea110c6cdcc39d02088f7c7bb1100077e081",
strip_prefix = "protobuf-3.21.1",
urls = [
"https://github.com/protocolbuffers/protobuf/archive/v3.21.1.tar.gz",
],
)
http_archive(
name = "com_github_bazelbuild_buildtools",
sha256 = "e3bb0dc8b0274ea1aca75f1f8c0c835adbe589708ea89bf698069d0790701ea3",
strip_prefix = "buildtools-5.1.0",
urls = [
"https://github.com/bazelbuild/buildtools/archive/refs/tags/5.1.0.tar.gz",
],
)
load("//:deps.bzl", "ugazelle_deps")
# gazelle:repository_macro deps.bzl%ugazelle_deps
ugazelle_deps()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.18.3")
load("@bazel_gazelle//:deps.bzl", "go_repository")
go_repository(
name = "org_golang_x_mod",
build_external = "external",
importpath = "golang.org/x/mod",
sum = "h1:kQgndtyPBW/JIYERgdxfwMYh3AVStj88WQTlNDi2a+o=",
version = "v0.6.0-dev.0.20220106191415-9b9b3d81d5e3",
)
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()