mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-30 00:01:19 +00:00
fdcafc6d1b
* Update syncthing to v0.14.51-rc.1 * Update syncthing to v0.14.51-rc.2 * Update fdroid metadata * Update python build script Use prebuilt go binaries from google and check SHA-256 after downloading requires files from google.
15 lines
424 B
Groovy
15 lines
424 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"
|
|
delete "go"
|
|
}
|