aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorYang Song <songy23@users.noreply.github.com>2019-04-10 09:27:10 -0700
committerGitHub <noreply@github.com>2019-04-10 09:27:10 -0700
commit8564d8146a315370ccd1c7ccf3d98adc9c128098 (patch)
treecea37a76e5d15f72e845f91ee6c105cd383728d4 /contrib
parent65cb334c2351c96caca380caba92070e494ea680 (diff)
downloadplatform_external_opencensus-java-8564d8146a315370ccd1c7ccf3d98adc9c128098.tar.gz
platform_external_opencensus-java-8564d8146a315370ccd1c7ccf3d98adc9c128098.tar.bz2
platform_external_opencensus-java-8564d8146a315370ccd1c7ccf3d98adc9c128098.zip
Prefer library version of gRPC instead of shaded. (#1825)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/log_correlation/stackdriver/build.gradle12
1 files changed, 11 insertions, 1 deletions
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'
}