Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit 374a1ae

Browse files
author
Bogdan Drutu
authored
Update deps in examples and add support for :dependencyUpdates gradle task. (#1688)
1 parent ccf6bf2 commit 374a1ae

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

examples/build.gradle

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ buildscript {
99
}
1010
}
1111
dependencies {
12-
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3'
12+
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.8'
13+
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
1314
}
1415
}
1516

1617
apply plugin: 'idea'
1718
apply plugin: 'java'
1819
apply plugin: 'com.google.protobuf'
1920

21+
// Display the version report using: ./gradlew dependencyUpdates
22+
// Also see https://github.com/ben-manes/gradle-versions-plugin.
23+
apply plugin: 'com.github.ben-manes.versions'
24+
2025
repositories {
2126
mavenCentral()
2227
mavenLocal()
@@ -26,8 +31,8 @@ group = "io.opencensus"
2631
version = "0.19.0-SNAPSHOT" // CURRENT_OPENCENSUS_VERSION
2732

2833
def opencensusVersion = "0.18.0" // LATEST_OPENCENSUS_RELEASE_VERSION
29-
def grpcVersion = "1.15.0" // CURRENT_GRPC_VERSION
30-
def prometheusVersion = "0.5.0"
34+
def grpcVersion = "1.18.0" // CURRENT_GRPC_VERSION
35+
def prometheusVersion = "0.6.0"
3136
def jettyVersion = "9.4.12.v20180830"
3237

3338
tasks.withType(JavaCompile) {
@@ -36,7 +41,7 @@ tasks.withType(JavaCompile) {
3641
}
3742

3843
dependencies {
39-
compile "com.google.api.grpc:proto-google-common-protos:1.11.0",
44+
compile "com.google.api.grpc:proto-google-common-protos:1.12.0",
4045
"io.opencensus:opencensus-api:${opencensusVersion}",
4146
"io.opencensus:opencensus-contrib-zpages:${opencensusVersion}",
4247
"io.opencensus:opencensus-contrib-grpc-metrics:${opencensusVersion}",
@@ -66,7 +71,7 @@ dependencies {
6671

6772
protobuf {
6873
protoc {
69-
artifact = 'com.google.protobuf:protoc:3.5.1-1'
74+
artifact = 'com.google.protobuf:protoc:3.6.1'
7075
}
7176
plugins {
7277
grpc {

0 commit comments

Comments
 (0)