更新构建shell

This commit is contained in:
陈云志
2020-12-23 14:15:26 +08:00
parent dbe2a5a8ad
commit 858d00b1bf
11 changed files with 43 additions and 38 deletions

14
build-config/checkThirdPaty.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
currentDir=`pwd`
shortName=${currentDir##*/}
rm -rf temp ${shortName}-third-jar.gradle
echo "dependencies { ">> ${shortName}-third-jar.gradle
find . -name "build.gradle" | xargs cat |grep -E "compile group|compile
'|implementation " >> temp
sort temp |uniq >> ${shortName}-third-jar.gradle
rm -rf temp
echo "} ">> ${shortName}-third-jar.gradle