Fixed CircleCI caching
This commit is contained in:
16
scripts/downloadDependencies.sh
Executable file
16
scripts/downloadDependencies.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
ROOT_FOLDER=`pwd`
|
||||
echo "Current folder is $ROOT_FOLDER"
|
||||
|
||||
if [[ ! -e "${ROOT_FOLDER}/.git" ]]; then
|
||||
cd ..
|
||||
ROOT_FOLDER=`pwd`
|
||||
fi
|
||||
|
||||
./mvnw -s .settings.xml --fail-never dependency:go-offline || true
|
||||
cd $ROOT_FOLDER/spring-cloud-contact-verifier-gradle-plugin && ./gradlew resolveDependencies || true
|
||||
cd $ROOT_FOLDER/spring-cloud-contract-verifier-standalone-test-samples && ./mvnw --fail-never dependency:go-offline || true
|
||||
cd $ROOT_FOLDER/spring-cloud-contract-verifier-standalone-test-samples && ./downloadGradleDeps.sh
|
||||
Reference in New Issue
Block a user