mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-30 00:01:19 +00:00
73775a116d
* Do not ask for root if root is disabled in settings * Show error in UI when libSyncthing.so is missing * build-syncthing - Install Go on demand on windows * build-syncthing - Install Android NDK on demand on windows * Update README.md * Update APK version to 0.14.51.rc3.6 / 4162
16 lines
454 B
Groovy
16 lines
454 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 "android-ndk-r16b"
|
|
delete "gobuild"
|
|
delete "go"
|
|
}
|