mirror of https://github.com/grpc/grpc-java.git
examples: include correct version in Android caching example (#4114)
This commit is contained in:
parent
9dc4ded597
commit
d4b11e5659
|
@ -68,6 +68,7 @@ $ VERSION_FILES=(
|
|||
cronet/build.gradle
|
||||
examples/build.gradle
|
||||
examples/pom.xml
|
||||
examples/android/clientcache/app/build.gradle
|
||||
examples/android/helloworld/app/build.gradle
|
||||
examples/android/routeguide/app/build.gradle
|
||||
)
|
||||
|
|
|
@ -38,7 +38,7 @@ protobuf {
|
|||
artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0"
|
||||
}
|
||||
grpc {
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.9.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.11.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
}
|
||||
}
|
||||
generateProtoTasks {
|
||||
|
@ -58,12 +58,12 @@ dependencies {
|
|||
compile 'com.android.support:appcompat-v7:27.0.2'
|
||||
|
||||
// You need to build grpc-java to obtain these libraries below.
|
||||
compile 'io.grpc:grpc-okhttp:1.9.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-protobuf-lite:1.9.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-stub:1.9.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-okhttp:1.11.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-protobuf-lite:1.11.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-stub:1.11.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'javax.annotation:javax.annotation-api:1.2'
|
||||
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile 'com.google.truth:truth:0.36'
|
||||
testCompile 'io.grpc:grpc-testing:1.9.0-SNAPSHOT'
|
||||
testCompile 'io.grpc:grpc-testing:1.11.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue