Commit 0fec2ba9 by sikang

remove script

parent 87162e50
...@@ -68,25 +68,25 @@ android { ...@@ -68,25 +68,25 @@ android {
} }
dependencies { dependencies {
exec { // exec {
workingDir = "../lib_base/script" // workingDir = "../lib_base/script"
if ("${tongdun_parent_key}".size() > 5) { // if ("${tongdun_parent_key}".size() > 5) {
implementation(name: 'android_spirit-20190220-2.0.0.1', ext: 'aar') // implementation(name: 'android_spirit-20190220-2.0.0.1', ext: 'aar')
implementation 'com.alibaba:fastjson:1.1.58.android' // implementation 'com.alibaba:fastjson:1.1.58.android'
executable 'sh' args "-c", "./sdk_manager.py open TD" // executable 'sh' args "-c", "./sdk_manager.py open TD"
} else { // } else {
executable 'sh' args "-c", "./sdk_manager.py close TD" // executable 'sh' args "-c", "./sdk_manager.py close TD"
} // }
} // }
exec { // exec {
//活体选择 // //活体选择
workingDir = "../lib_base/script/code" // workingDir = "../lib_base/script/code"
try { // try {
executable 'sh' args "-c", "./choose_liveness.sh ${liveness}" // executable 'sh' args "-c", "./choose_liveness.sh ${liveness}"
} catch (Exception e) { // } catch (Exception e) {
executable 'sh' args "-c", "./choose_liveness.sh yitu" // executable 'sh' args "-c", "./choose_liveness.sh yitu"
} // }
} // }
// def startParams = getGradle().getStartParameter().getTaskRequests()[0] // 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