How to update the C++ sources of gRPC:
git clone http://github.com/grpc/grpc.git
in a convenient directorygit checkout <tag>
(current is release-0_13
, commithash 78e04bbd
)mkdir -p third_party/grpc/src
cp -R <gRPC git tree>/src/{compiler,core-cpp} third_party/grpc/src
cp -R <gRPC git tree>/include third_party/grpc
How to update the Java plugin:
0.15.0
from https://github.com/grpc/grpc-java commit hash is b7d816fb3d0d38e
cp -R <grpg-java git tree>/compiler/src/java_plugin third_party/grpc-java/compiler/src
How to update the Java code:
Download it from Maven central. The jars are called grpc-core
, grpc-netty
, grpc-protobuf
, grpc-protobuf-lite
, grpc-stub
and the version is 0.15.0
.