-
Notifications
You must be signed in to change notification settings - Fork 4
/
WORKSPACE
75 lines (58 loc) · 1.87 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
69
70
71
72
73
74
75
workspace(name = "com_github_yugui_grpc_custom_serializer")
# For protobuf
git_repository(
name = "org_pubref_rules_protobuf",
remote = "https://github.com/pubref/rules_protobuf",
tag = "v0.8.1",
)
# For C++
git_repository(
name = "com_github_gflags_gflags",
remote = "https://github.com/gflags/gflags",
tag = "v2.2.1",
)
load("@org_pubref_rules_protobuf//cpp:rules.bzl", "cpp_proto_repositories")
cpp_proto_repositories()
bind(
name = "gflags",
actual = "@com_github_gflags_gflags//:gflags",
)
# For golang
http_archive(
name = "io_bazel_rules_go",
sha256 = "4d8d6244320dd751590f9100cf39fd7a4b75cd901e1f3ffdfd6f048328883695",
url = "https://github.com/bazelbuild/rules_go/releases/download/0.9.0/rules_go-0.9.0.tar.gz",
)
load(
"@io_bazel_rules_go//go:def.bzl",
"go_rules_dependencies",
"go_register_toolchains",
"go_repository",
)
# Overrides go_rules_dependencies() for the new Codec API.
#
# TODO(yugui) remove this rule once the new Gazelle dependency rule
# catches google.golang.org/grpc/encoding.RegisterCodec.
go_repository(
name = "org_golang_google_grpc",
commit = "3926816d541db48f3e4c1c87cff75ceeb205309e",
importpath = "google.golang.org/grpc",
)
http_archive(
name = "bazel_gazelle",
sha256 = "0103991d994db55b3b5d7b06336f8ae355739635e0c2379dea16b8213ea5a223",
url = "https://github.com/bazelbuild/bazel-gazelle/releases/download/0.9/bazel-gazelle-0.9.tar.gz",
)
go_rules_dependencies()
go_register_toolchains()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
# For Java
load("@org_pubref_rules_protobuf//java:rules.bzl", "java_proto_repositories")
java_proto_repositories()
maven_jar(
name = "args4j_args4j",
artifact = "args4j:args4j:2.33",
repository = "http://central.maven.org/maven2/",
sha1 = "bd87a75374a6d6523de82fef51fc3cfe9baf9fc9",
)