• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1workspace(name = "opencensus_examples")
2
3git_repository(
4    name = "grpc_java",
5    remote = "https://github.com/grpc/grpc-java.git",
6    tag = "v1.10.1",
7)
8
9load("//:opencensus_workspace.bzl", "opencensus_maven_jars")
10load("@grpc_java//:repositories.bzl", "grpc_java_repositories")
11
12opencensus_maven_jars()
13grpc_java_repositories(
14    # Omit to avoid conflicts.
15
16    omit_com_google_auth_google_auth_library_credentials=True,
17    omit_com_google_api_grpc_google_common_protos=True,
18    omit_com_google_code_findbugs_jsr305=True,
19    omit_com_google_code_gson=True,
20    omit_com_google_errorprone_error_prone_annotations=True,
21    omit_com_google_guava=True,
22    omit_com_google_protobuf=True,
23    omit_com_google_protobuf_nano_protobuf_javanano=True,
24    omit_com_google_truth_truth=True,
25    omit_com_squareup_okhttp=True,
26    omit_com_squareup_okio=True,
27
28    # These netty dependencies have already been included in opencensus_workspace.bzl
29    omit_io_netty_buffer=True,
30    omit_io_netty_common=True,
31    omit_io_netty_handler_proxy=True,
32    omit_io_netty_codec_http2=True,
33    omit_io_netty_transport=True,
34    omit_io_netty_codec=True,
35    omit_io_netty_codec_socks=True,
36    omit_io_netty_codec_http=True,
37    omit_io_netty_handler=True,
38    omit_io_netty_resolver=True,
39
40    omit_io_opencensus_api=True,
41    omit_io_opencensus_grpc_metrics=True,
42    omit_junit_junit=True
43)
44
45# proto_library, cc_proto_library, and java_proto_library rules implicitly
46# depend on @com_google_protobuf for protoc and proto runtimes.
47# This statement defines the @com_google_protobuf repo.
48http_archive(
49    name = "com_google_protobuf",
50    sha256 = "1f8b9b202e9a4e467ff0b0f25facb1642727cdf5e69092038f15b37c75b99e45",
51    strip_prefix = "protobuf-3.5.1",
52    urls = ["https://github.com/google/protobuf/archive/v3.5.1.zip"],
53)
54