@@ -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.27.2 /examples ) and the
34
- [ Android example] ( https://github.com/grpc/grpc-java/tree/v1.27.2 /examples/android )
33
+ The [ examples] ( https://github.com/grpc/grpc-java/tree/v1.28.0 /examples ) and the
34
+ [ Android example] ( https://github.com/grpc/grpc-java/tree/v1.28.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.27.2 </version >
45
+ <version >1.28.0 </version >
46
46
</dependency >
47
47
<dependency >
48
48
<groupId >io.grpc</groupId >
49
49
<artifactId >grpc-protobuf</artifactId >
50
- <version >1.27.2 </version >
50
+ <version >1.28.0 </version >
51
51
</dependency >
52
52
<dependency >
53
53
<groupId >io.grpc</groupId >
54
54
<artifactId >grpc-stub</artifactId >
55
- <version >1.27.2 </version >
55
+ <version >1.28.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
- implementation 'io.grpc:grpc-netty-shaded:1.27.2 '
62
- implementation 'io.grpc:grpc-protobuf:1.27.2 '
63
- implementation 'io.grpc:grpc-stub:1.27.2 '
61
+ implementation 'io.grpc:grpc-netty-shaded:1.28.0 '
62
+ implementation 'io.grpc:grpc-protobuf:1.28.0 '
63
+ implementation 'io.grpc:grpc-stub:1.28.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
- implementation 'io.grpc:grpc-okhttp:1.27.2 '
70
- implementation 'io.grpc:grpc-protobuf-lite:1.27.2 '
71
- implementation 'io.grpc:grpc-stub:1.27.2 '
69
+ implementation 'io.grpc:grpc-okhttp:1.28.0 '
70
+ implementation 'io.grpc:grpc-protobuf-lite:1.28.0 '
71
+ implementation 'io.grpc:grpc-stub:1.28.0 '
72
72
```
73
73
74
74
[ the JARs] :
75
- https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.27.2
75
+ https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.28.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.11.0:exe:${os.detected.classifier}</protocArtifact >
106
106
<pluginId >grpc-java</pluginId >
107
- <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.27.2 :exe:${os.detected.classifier}</pluginArtifact >
107
+ <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.28.0 :exe:${os.detected.classifier}</pluginArtifact >
108
108
</configuration >
109
109
<executions >
110
110
<execution >
@@ -134,7 +134,7 @@ protobuf {
134
134
}
135
135
plugins {
136
136
grpc {
137
- artifact = 'io.grpc:protoc-gen-grpc-java:1.27.2 '
137
+ artifact = 'io.grpc:protoc-gen-grpc-java:1.28.0 '
138
138
}
139
139
}
140
140
generateProtoTasks {
0 commit comments