plugins { id'java'id'scala'//Allows gradle to automagically generate Java protobuf writers/readers -- needed for TensorFlow//example formatid"com.google.protobuf"version"0.8.8"} protobuf {//Configure the protoc executableprotoc {//Download from repositoriesartifact='com.google.protobuf:protoc:3....
4 src/python/pants/backend/codegen/protobuf/protoc.py @@ -8,9 +8,9 @@ class Protoc(TemplatedExternalTool): """The protocol buffer compiler (https://developers.google.com/protocol-buffers).""" options_scope = "protoc" help = "The protocol buffer compiler (https://developers.google.com...
在使用GRPC插件protobuf的时候,complie编译时出现以下错误: Could not find artifactcom.google.protobuf:protoc:exe:${os.detected.classifier}:3.12.0 in central (https://repo.maven.apache.org/maven2) 解决方案 1在pom文件的build标签添加,少了这个排除就会出现这样的错误 <extensions><extension><groupId>kr...