Skip to content

Commit 7267c0f

Browse files
committed
Change routeguide example to use proto 3.0.0
1 parent ab85d87 commit 7267c0f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/android/routeguide/app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ android {
2525

2626
protobuf {
2727
protoc {
28-
artifact = 'com.google.protobuf:protoc:3.0.0-beta-3'
28+
artifact = 'com.google.protobuf:protoc:3.0.0'
2929
}
3030
plugins {
31+
javalite {
32+
artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0"
33+
}
3134
grpc {
3235
artifact = 'io.grpc:protoc-gen-grpc-java:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
3336
}
@@ -37,13 +40,10 @@ protobuf {
3740
task.builtins {
3841
// Javanano is installed by default, but needs to be removed to use protobuf lite..
3942
remove javanano
40-
java {
41-
// Options added to --java_out
42-
option 'lite'
43-
}
4443
}
4544

4645
task.plugins {
46+
javalite {}
4747
grpc {
4848
// Options added to --grpc_out
4949
option 'lite'

0 commit comments

Comments
 (0)