Add python car module as subproject
This commit is contained in:
16
build.gradle
Normal file
16
build.gradle
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
configurations {
|
||||||
|
python {
|
||||||
|
canBeResolved = true
|
||||||
|
canBeConsumed = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
python project(path: ':protobuf', configuration: 'python')
|
||||||
|
}
|
||||||
|
|
||||||
|
task copyPythonCode(type: Copy, dependsOn: configurations.python){
|
||||||
|
// Copy python protobuf code from proto project.
|
||||||
|
from zipTree(configurations.python.asPath)
|
||||||
|
into '.'
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user