Don't create .gradle folder early

See gh-37450
2.7.x
Phillip Webb 1 year ago
parent 9518035e13
commit fec9804dad

@ -51,9 +51,3 @@ curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_VERSI
chmod +x entrykit && \
mv entrykit /bin/entrykit && \
entrykit --symlink
###########################################################
# GRADLE ENTERPRISE
###########################################################
mkdir ~/.gradle
echo 'systemProp.user.name=concourse' > ~/.gradle/gradle.properties

@ -1,12 +1,10 @@
source /opt/concourse-java.sh
if [[ -d $PWD/gradle ]]; then
export GRADLE_USER_HOME=`pwd`/gradle
fi
setup_symlinks
if [[ -d $PWD/embedmongo && ! -d $HOME/.embedmongo ]]; then
ln -s "$PWD/embedmongo" "$HOME/.embedmongo"
fi
cleanup_maven_repo "org.springframework.boot"
echo 'systemProp.user.name=concourse' > ~/.gradle/gradle.properties

Loading…
Cancel
Save