1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 12:51:16 +00:00
syncthing-android/syncthing/build.gradle
Simon Frei 9c2fa5c833
build: Revert to python binary
This reverts commit d413912716.
2021-10-12 21:43:02 +02:00

14 lines
408 B
Groovy

task buildNative(type: Exec) {
inputs.dir("$projectDir/src/")
outputs.dir("$projectDir/../app/src/main/jniLibs/")
executable = 'python'
args = ['-u', './build-syncthing.py']
}
/**
* Use separate task instead of standard clean(), so these folders aren't deleted by `gradle clean`.
*/
task cleanNative(type: Delete) {
delete "$projectDir/../app/src/main/jniLibs/"
delete "gobuild"
}