aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorYang Song <songy23@users.noreply.github.com>2018-06-08 15:17:50 -0700
committerGitHub <noreply@github.com>2018-06-08 15:17:50 -0700
commit20a6387b34efab32ab7de4aa17aa92584dffc034 (patch)
treeb9e866faa146e5e97ed818f406a1c5af4da62c03 /examples
parent54198be41c52238977b24bd76eee3da2abf43b96 (diff)
downloadopencensus-java-20a6387b34efab32ab7de4aa17aa92584dffc034.tar.gz
Examples: add runtime dependency on netty-tcnative-boringssl-static. (#1247)
Diffstat (limited to 'examples')
-rw-r--r--examples/build.gradle7
-rw-r--r--examples/pom.xml6
2 files changed, 10 insertions, 3 deletions
diff --git a/examples/build.gradle b/examples/build.gradle
index 29620914..ffecf0ab 100644
--- a/examples/build.gradle
+++ b/examples/build.gradle
@@ -26,7 +26,7 @@ group = "io.opencensus"
version = "0.15.0-SNAPSHOT" // CURRENT_OPENCENSUS_VERSION
def opencensusVersion = "0.14.0" // LATEST_OPENCENSUS_RELEASE_VERSION
-def grpcVersion = "1.9.0" // CURRENT_GRPC_VERSION
+def grpcVersion = "1.10.1" // CURRENT_GRPC_VERSION
def prometheusVersion = "0.3.0"
tasks.withType(JavaCompile) {
@@ -35,7 +35,7 @@ tasks.withType(JavaCompile) {
}
dependencies {
- compile "com.google.api.grpc:proto-google-common-protos:1.0.5",
+ compile "com.google.api.grpc:proto-google-common-protos:1.11.0",
"io.opencensus:opencensus-api:${opencensusVersion}",
"io.opencensus:opencensus-contrib-zpages:${opencensusVersion}",
"io.opencensus:opencensus-contrib-grpc-metrics:${opencensusVersion}",
@@ -48,7 +48,8 @@ dependencies {
"io.grpc:grpc-netty:${grpcVersion}",
"io.prometheus:simpleclient_httpserver:${prometheusVersion}"
- runtime "io.opencensus:opencensus-impl:${opencensusVersion}"
+ runtime "io.opencensus:opencensus-impl:${opencensusVersion}",
+ "io.netty:netty-tcnative-boringssl-static:2.0.8.Final"
}
protobuf {
diff --git a/examples/pom.xml b/examples/pom.xml
index d2437d2b..8a06d4d2 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -75,6 +75,12 @@
<version>${opencensus.version}</version>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-tcnative-boringssl-static</artifactId>
+ <version>2.0.8.Final</version>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<build>
<extensions>