From 676bd7ed703ca64488c24f1cb9716d764833cec8 Mon Sep 17 00:00:00 2001 From: Chengyuan Zhang Date: Wed, 15 Jan 2020 10:34:15 -0800 Subject: [PATCH 1/2] Do not exclude opencensus-api transitive dependency, as grpc-core does not pull it in now. --- alts/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/alts/build.gradle b/alts/build.gradle index 9d8741d5236..1d39a3dc2dc 100644 --- a/alts/build.gradle +++ b/alts/build.gradle @@ -24,7 +24,6 @@ dependencies { compile (libraries.google_auth_oauth2_http) { // prefer our own versions instead of google-auth-oauth2-http's dependency exclude group: 'com.google.guava', module: 'guava' - exclude group: 'io.opencensus', module: 'opencensus-api' } compileOnly libraries.javax_annotation runtime project(':grpc-grpclb') From e00e77a7a0f5e90b5315d940a0a39ade42d38927 Mon Sep 17 00:00:00 2001 From: Chengyuan Zhang Date: Wed, 15 Jan 2020 10:50:28 -0800 Subject: [PATCH 2/2] Still need to exclude grpc-context from google-oauth2. --- alts/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alts/build.gradle b/alts/build.gradle index 1d39a3dc2dc..b5342770288 100644 --- a/alts/build.gradle +++ b/alts/build.gradle @@ -24,6 +24,8 @@ dependencies { compile (libraries.google_auth_oauth2_http) { // prefer our own versions instead of google-auth-oauth2-http's dependency exclude group: 'com.google.guava', module: 'guava' + // we'll always be more up-to-date + exclude group: 'io.grpc', module: 'grpc-context' } compileOnly libraries.javax_annotation runtime project(':grpc-grpclb')