Grpc文件,结尾XXX..proto文件
idea下载插件:
新建一个maven项目
pom文件加入配置
com.google.protobuf protobuf-java3.5.1 io.grpc grpc-all1.12.0 kr.motd.maven os-maven-plugin1.4.1.Final org.xolstice.maven.plugins protobuf-maven-plugin0.5.0 com.google.protobuf:protoc:3.0.0:exe:${os.detected.classifier} grpc-java io.grpc:protoc-gen-grpc-java:1.0.0:exe:${os.detected.classifier} compile compile-custom
将你的proto文件放到main下的文件夹下,
点击maven进行操作
打包完毕项目输出目录
此jar包就是可以引用到项目中,这样就可以放到客户端,服务端去使用了,具体使用实例,我会在后面的文章里进行举例说明,稍安勿躁



