Add windows protobuf generation support

This commit is contained in:
Piv
2020-04-19 19:04:03 +09:30
parent 4015f1501f
commit 83fda38814
5 changed files with 5 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ plugins {
id 'java'
id 'com.google.protobuf'
id 'idea'
id "com.google.osdetector"
}
configurations {
@@ -19,7 +20,9 @@ protobuf {
grpc {
artifact = 'io.grpc:protoc-gen-grpc-java:1.28.1' // CURRENT_GRPC_VERSION
}
grpc_python { path = "$projectDir/grpc_python_plugin" }
grpc_python {
path = "$projectDir/grpc_plugins/grpc_python_plugin_1.28.1-${osdetector.classifier}"
}
}
generateProtoTasks {
all().each { task ->

Binary file not shown.