mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-27 04:01:56 +08:00
更新构建shell
This commit is contained in:
14
build-config/checkThirdPaty.sh
Executable file
14
build-config/checkThirdPaty.sh
Executable 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user