Move root car to pycar, put other pycar back to car.

This commit is contained in:
=
2020-05-29 21:50:46 +09:30
parent 0bd92e731f
commit 858cbcb2ff
98 changed files with 0 additions and 387 deletions

28
pycar/build.gradle Normal file
View File

@@ -0,0 +1,28 @@
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 'src'
}
task build(type: Exec, dependsOn: copyPythonCode) {
executable 'python3'
args 'setup.py', 'bdist_wheel'
}
task clean {
doLast {
delete 'dist'
delete 'build'
}
}