diff --git a/WORKSPACE b/WORKSPACE index 40d853d90..d3a451a95 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -14,4 +14,8 @@ com_google_api_gax_java_repositories() load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") -protobuf_deps() \ No newline at end of file +protobuf_deps() + +load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories") + +grpc_java_repositories() diff --git a/dependencies.properties b/dependencies.properties index e5e8f1d76..2ef18db77 100644 --- a/dependencies.properties +++ b/dependencies.properties @@ -54,21 +54,6 @@ maven.com_google_http_client_google_http_client_jackson2=com.google.http-client: maven.com_fasterxml_jackson_core_jackson_core=com.fasterxml.jackson.core:jackson-core:2.10.1 maven.org_codehaus_mojo_animal_sniffer_annotations=org.codehaus.mojo:animal-sniffer-annotations:1.18 maven.org_apache_commons_commons_lang3=org.apache.commons:commons-lang3:3.6 -# Used by grpc stub -maven.javax_annotation_javax_annotation_api=javax.annotation:javax.annotation-api:1.3.2 -maven.com_google_guava_failureaccess=com.google.guava:failureaccess:1.0.1 -maven.io_perfmark_perfmark_api=io.perfmark:perfmark-api:0.17.0 -maven.io_netty_netty_handler=io.netty:netty-handler:4.1.38.Final -maven.io_netty_netty_common=io.netty:netty-common:4.1.38.Final -maven.io_netty_netty_transport=io.netty:netty-transport:4.1.38.Final -maven.io_netty_netty_codec=io.netty:netty-codec:4.1.38.Final -maven.io_netty_netty_buffer=io.netty:netty-buffer:4.1.38.Final -maven.io_netty_netty_codec_http=io.netty:netty-codec-http:4.1.38.Final -maven.io_netty_netty_codec_http2=io.netty:netty-codec-http2:4.1.38.Final -maven.io_netty_netty_codec_socks=io.netty:netty-codec-socks:4.1.38.Final -maven.io_netty_netty_handler_proxy=io.netty:netty-handler-proxy:4.1.38.Final -maven.io_netty_netty_resolver=io.netty:netty-resolver:4.1.38.Final -maven.io_netty_netty_tcnative_boringssl_static=io.netty:netty-tcnative-boringssl-static:2.0.25.Final # Testing maven artifacts maven.junit_junit=junit:junit:4.13 diff --git a/gax-grpc/BUILD.bazel b/gax-grpc/BUILD.bazel index 46a322255..29fac3b41 100644 --- a/gax-grpc/BUILD.bazel +++ b/gax-grpc/BUILD.bazel @@ -26,6 +26,7 @@ _COMPILE_DEPS = [ "@io_grpc_grpc_netty_shaded//jar", "@io_grpc_grpc_java//alts:alts", "@io_netty_netty_tcnative_boringssl_static//jar", + "@javax_annotation_javax_annotation_api//jar", "//gax:gax", ] diff --git a/gax-httpjson/BUILD.bazel b/gax-httpjson/BUILD.bazel index bba76e8ac..e53beacd4 100644 --- a/gax-httpjson/BUILD.bazel +++ b/gax-httpjson/BUILD.bazel @@ -18,6 +18,7 @@ _COMPILE_DEPS = [ "@com_google_api_api_common//jar", "@com_google_auto_value_auto_value//jar", "@com_google_http_client_google_http_client_jackson2//jar", + "@javax_annotation_javax_annotation_api//jar", "//gax:gax", ] diff --git a/gax/BUILD.bazel b/gax/BUILD.bazel index ef99df10e..a2ee5d222 100644 --- a/gax/BUILD.bazel +++ b/gax/BUILD.bazel @@ -22,6 +22,7 @@ _COMPILE_DEPS = [ "@com_google_http_client_google_http_client_jackson2//jar", "@com_fasterxml_jackson_core_jackson_core//jar", "@com_google_guava_failureaccess//jar", + "@javax_annotation_javax_annotation_api//jar", ] _TEST_COMPILE_DEPS = [