15 lines
383 B
Bash
Executable File
15 lines
383 B
Bash
Executable File
#!/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 " | egrep -v 'gridnt' >> temp
|
|
sort temp |uniq >> ${shortName}-third-jar.gradle
|
|
rm -rf temp
|
|
|
|
echo "} ">> ${shortName}-third-jar.gradle
|
|
|
|
|