Add python car module as subproject, add config to generate python protobuf code.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user