Commit 0fec2ba9 by sikang

remove script

parent 87162e50
......@@ -68,25 +68,25 @@ android {
}
dependencies {
exec {
workingDir = "../lib_base/script"
if ("${tongdun_parent_key}".size() > 5) {
implementation(name: 'android_spirit-20190220-2.0.0.1', ext: 'aar')
implementation 'com.alibaba:fastjson:1.1.58.android'
executable 'sh' args "-c", "./sdk_manager.py open TD"
} else {
executable 'sh' args "-c", "./sdk_manager.py close TD"
}
}
exec {
//活体选择
workingDir = "../lib_base/script/code"
try {
executable 'sh' args "-c", "./choose_liveness.sh ${liveness}"
} catch (Exception e) {
executable 'sh' args "-c", "./choose_liveness.sh yitu"
}
}
// exec {
// workingDir = "../lib_base/script"
// if ("${tongdun_parent_key}".size() > 5) {
// implementation(name: 'android_spirit-20190220-2.0.0.1', ext: 'aar')
// implementation 'com.alibaba:fastjson:1.1.58.android'
// executable 'sh' args "-c", "./sdk_manager.py open TD"
// } else {
// executable 'sh' args "-c", "./sdk_manager.py close TD"
// }
// }
// exec {
// //活体选择
// workingDir = "../lib_base/script/code"
// try {
// executable 'sh' args "-c", "./choose_liveness.sh ${liveness}"
// } catch (Exception e) {
// executable 'sh' args "-c", "./choose_liveness.sh yitu"
// }
// }
// def startParams = getGradle().getStartParameter().getTaskRequests()[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment