From 8564d8146a315370ccd1c7ccf3d98adc9c128098 Mon Sep 17 00:00:00 2001 From: Yang Song Date: Wed, 10 Apr 2019 09:27:10 -0700 Subject: Prefer library version of gRPC instead of shaded. (#1825) --- contrib/log_correlation/stackdriver/build.gradle | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/log_correlation/stackdriver/build.gradle b/contrib/log_correlation/stackdriver/build.gradle index e398f434..67cd2654 100644 --- a/contrib/log_correlation/stackdriver/build.gradle +++ b/contrib/log_correlation/stackdriver/build.gradle @@ -3,9 +3,19 @@ description = 'OpenCensus Stackdriver Log Correlation' apply plugin: 'java' dependencies { - compile project(':opencensus-api') + compile project(':opencensus-api'), + libraries.grpc_auth, + libraries.grpc_core, + libraries.grpc_netty_shaded, + libraries.grpc_stub compile (libraries.google_cloud_logging) { + // Prefer library version. + exclude group: 'io.grpc', module: 'grpc-auth' + exclude group: 'io.grpc', module: 'grpc-core' + exclude group: 'io.grpc', module: 'grpc-netty-shaded' + exclude group: 'io.grpc', module: 'grpc-stub' + // We will always be more up to date. exclude group: 'io.opencensus', module: 'opencensus-api' } -- cgit v1.2.3