1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 12:21:15 +00:00
syncthing-android/syncthing/build.gradle
dependabot[bot] 69baf1c6f9
Bump ru.vyarus.use-python from 2.3.0 to 3.0.0 (#1847)
Bumps ru.vyarus.use-python from 2.3.0 to 3.0.0.

---
updated-dependencies:
- dependency-name: ru.vyarus.use-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 23:46:31 +01:00

18 lines
496 B
Groovy

plugins {
id 'ru.vyarus.use-python' version '3.0.0'
}
task buildNative(type: PythonTask) {
environment "NDK_VERSION", "$ndkVersionShared"
inputs.dir("$projectDir/src/")
outputs.dir("$projectDir/../app/src/main/jniLibs/")
command = "-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"
}