@@ -30,8 +30,8 @@ For a guided tour, take a look at the [quick start
30
30
guide] ( https://grpc.io/docs/quickstart/java.html ) or the more explanatory [ gRPC
31
31
basics] ( https://grpc.io/docs/tutorials/basic/java.html ) .
32
32
33
- The [ examples] ( https://github.com/grpc/grpc-java/tree/v1.21 .0/examples ) and the
34
- [ Android example] ( https://github.com/grpc/grpc-java/tree/v1.21 .0/examples/android )
33
+ The [ examples] ( https://github.com/grpc/grpc-java/tree/v1.22 .0/examples ) and the
34
+ [ Android example] ( https://github.com/grpc/grpc-java/tree/v1.22 .0/examples/android )
35
35
are standalone projects that showcase the usage of gRPC.
36
36
37
37
Download
@@ -42,37 +42,37 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
42
42
<dependency >
43
43
<groupId >io.grpc</groupId >
44
44
<artifactId >grpc-netty-shaded</artifactId >
45
- <version >1.21 .0</version >
45
+ <version >1.22 .0</version >
46
46
</dependency >
47
47
<dependency >
48
48
<groupId >io.grpc</groupId >
49
49
<artifactId >grpc-protobuf</artifactId >
50
- <version >1.21 .0</version >
50
+ <version >1.22 .0</version >
51
51
</dependency >
52
52
<dependency >
53
53
<groupId >io.grpc</groupId >
54
54
<artifactId >grpc-stub</artifactId >
55
- <version >1.21 .0</version >
55
+ <version >1.22 .0</version >
56
56
</dependency >
57
57
```
58
58
59
59
Or for Gradle with non-Android, add to your dependencies:
60
60
``` gradle
61
- compile 'io.grpc:grpc-netty-shaded:1.21 .0'
62
- compile 'io.grpc:grpc-protobuf:1.21 .0'
63
- compile 'io.grpc:grpc-stub:1.21 .0'
61
+ compile 'io.grpc:grpc-netty-shaded:1.22 .0'
62
+ compile 'io.grpc:grpc-protobuf:1.22 .0'
63
+ compile 'io.grpc:grpc-stub:1.22 .0'
64
64
```
65
65
66
66
For Android client, use ` grpc-okhttp ` instead of ` grpc-netty-shaded ` and
67
67
` grpc-protobuf-lite ` instead of ` grpc-protobuf ` :
68
68
``` gradle
69
- compile 'io.grpc:grpc-okhttp:1.21 .0'
70
- compile 'io.grpc:grpc-protobuf-lite:1.21 .0'
71
- compile 'io.grpc:grpc-stub:1.21 .0'
69
+ compile 'io.grpc:grpc-okhttp:1.22 .0'
70
+ compile 'io.grpc:grpc-protobuf-lite:1.22 .0'
71
+ compile 'io.grpc:grpc-stub:1.22 .0'
72
72
```
73
73
74
74
[ the JARs] :
75
- https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.21 .0
75
+ https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.22 .0
76
76
77
77
Development snapshots are available in [ Sonatypes's snapshot
78
78
repository] ( https://oss.sonatype.org/content/repositories/snapshots/ ) .
@@ -104,7 +104,7 @@ For protobuf-based codegen integrated with the Maven build system, you can use
104
104
<configuration >
105
105
<protocArtifact >com.google.protobuf:protoc:3.7.1:exe:${os.detected.classifier}</protocArtifact >
106
106
<pluginId >grpc-java</pluginId >
107
- <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.21 .0:exe:${os.detected.classifier}</pluginArtifact >
107
+ <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.22 .0:exe:${os.detected.classifier}</pluginArtifact >
108
108
</configuration >
109
109
<executions >
110
110
<execution >
@@ -141,7 +141,7 @@ protobuf {
141
141
}
142
142
plugins {
143
143
grpc {
144
- artifact = 'io.grpc:protoc-gen-grpc-java:1.21 .0'
144
+ artifact = 'io.grpc:protoc-gen-grpc-java:1.22 .0'
145
145
}
146
146
}
147
147
generateProtoTasks {
0 commit comments