mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +00:00
This commit is contained in:
parent
39dd858993
commit
b30bcf940b
1 changed files with 6 additions and 3 deletions
|
@ -1,9 +1,12 @@
|
||||||
task buildNative(type: Exec) {
|
plugins {
|
||||||
|
id 'ru.vyarus.use-python' version '2.3.0'
|
||||||
|
}
|
||||||
|
|
||||||
|
task buildNative(type: PythonTask) {
|
||||||
environment "NDK_VERSION", "$ndkVersionShared"
|
environment "NDK_VERSION", "$ndkVersionShared"
|
||||||
inputs.dir("$projectDir/src/")
|
inputs.dir("$projectDir/src/")
|
||||||
outputs.dir("$projectDir/../app/src/main/jniLibs/")
|
outputs.dir("$projectDir/../app/src/main/jniLibs/")
|
||||||
executable = 'python3'
|
command = "-u ./build-syncthing.py"
|
||||||
args = ['-u', './build-syncthing.py']
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue