Add python car module as subproject, add config to generate python protobuf code.

This commit is contained in:
Piv
2020-04-18 17:58:05 +09:30
parent 878f4bc8ab
commit 5b57bf592d
8 changed files with 13 additions and 4 deletions

View File

@@ -40,6 +40,14 @@ protobuf {
}
}
task packPythonGrpc(type: Zip) {
from protobuf.generatedFilesBaseDir + '/main/python'
}
artifacts {
python(packPythonGrpc)
}
dependencies {
implementation 'io.grpc:grpc-okhttp:1.28.1' // CURRENT_GRPC_VERSION
implementation 'io.grpc:grpc-protobuf-lite:1.28.1' // CURRENT_GRPC_VERSION