Java World

gRPC java的编译

2016-09-29  本文已影响230人  Mr_Shang

gRPC-java代码生成器


If you are just going to build gRPC and try the examples, you can create the file "gradle.properties" under the project's root directory and add "skipCodegen=true" to it. This will skip the code generation.
(来自讨论组)

grpc-java has a C++ code generation plugin for protoc. Since many Java developers don't have C compilers installed and don't need to modify the codegen, the build can skip it. To skip, create the file <project-root>/gradle.properties and add skipCodegen=true
(来自项目说明)

.

编译


cd $path_to_prj
./gradlew build
./gradlew install
上一篇 下一篇

猜你喜欢

热点阅读