Add windows protobuf generation support
This commit is contained in:
@@ -6,7 +6,7 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.6.2'
|
||||
classpath 'com.android.tools.build:gradle:3.6.3'
|
||||
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.10'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
|
||||
@@ -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 ->
|
||||
|
||||
BIN
protobuf/grpc_plugins/grpc_plugin_support.lib
Normal file
BIN
protobuf/grpc_plugins/grpc_plugin_support.lib
Normal file
Binary file not shown.
0
protobuf/grpc_python_plugin → protobuf/grpc_plugins/grpc_python_plugin_1.28.1-osx-x86_64
Executable file → Normal file
0
protobuf/grpc_python_plugin → protobuf/grpc_plugins/grpc_python_plugin_1.28.1-osx-x86_64
Executable file → Normal file
BIN
protobuf/grpc_plugins/grpc_python_plugin_1.28.1-windows-x86_64
Normal file
BIN
protobuf/grpc_plugins/grpc_python_plugin_1.28.1-windows-x86_64
Normal file
Binary file not shown.
Reference in New Issue
Block a user