mirror of https://github.com/grpc/grpc-java.git
readme: Downgrade protoc to 3.0.2 to match grpc-protobuf
Protobuf runtime 3.0.2 is included transitively via grpc-protobuf v1.0.3. Protoc doesn't have to match the version identically, but must not be newer than the runtime. We must wait until v1.1 release of grpc to bump protobuf version in the readme. Fixes #2578
This commit is contained in:
parent
7cb0497767
commit
de10b94128
|
@ -85,7 +85,7 @@ For protobuf-based codegen integrated with the Maven build system, you can use
|
||||||
<artifactId>protobuf-maven-plugin</artifactId>
|
<artifactId>protobuf-maven-plugin</artifactId>
|
||||||
<version>0.5.0</version>
|
<version>0.5.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<protocArtifact>com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}</protocArtifact>
|
<protocArtifact>com.google.protobuf:protoc:3.0.2:exe:${os.detected.classifier}</protocArtifact>
|
||||||
<pluginId>grpc-java</pluginId>
|
<pluginId>grpc-java</pluginId>
|
||||||
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.0.3:exe:${os.detected.classifier}</pluginArtifact>
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.0.3:exe:${os.detected.classifier}</pluginArtifact>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -123,7 +123,7 @@ buildscript {
|
||||||
|
|
||||||
protobuf {
|
protobuf {
|
||||||
protoc {
|
protoc {
|
||||||
artifact = "com.google.protobuf:protoc:3.1.0"
|
artifact = "com.google.protobuf:protoc:3.0.2"
|
||||||
}
|
}
|
||||||
plugins {
|
plugins {
|
||||||
grpc {
|
grpc {
|
||||||
|
|
Loading…
Reference in New Issue