mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Don't create .gradle folder early
See gh-37450
This commit is contained in:
parent
9518035e13
commit
fec9804dad
@ -51,9 +51,3 @@ curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_VERSI
|
|||||||
chmod +x entrykit && \
|
chmod +x entrykit && \
|
||||||
mv entrykit /bin/entrykit && \
|
mv entrykit /bin/entrykit && \
|
||||||
entrykit --symlink
|
entrykit --symlink
|
||||||
|
|
||||||
###########################################################
|
|
||||||
# GRADLE ENTERPRISE
|
|
||||||
###########################################################
|
|
||||||
mkdir ~/.gradle
|
|
||||||
echo 'systemProp.user.name=concourse' > ~/.gradle/gradle.properties
|
|
@ -1,12 +1,10 @@
|
|||||||
source /opt/concourse-java.sh
|
source /opt/concourse-java.sh
|
||||||
|
|
||||||
if [[ -d $PWD/gradle ]]; then
|
|
||||||
export GRADLE_USER_HOME=`pwd`/gradle
|
|
||||||
fi
|
|
||||||
|
|
||||||
setup_symlinks
|
setup_symlinks
|
||||||
if [[ -d $PWD/embedmongo && ! -d $HOME/.embedmongo ]]; then
|
if [[ -d $PWD/embedmongo && ! -d $HOME/.embedmongo ]]; then
|
||||||
ln -s "$PWD/embedmongo" "$HOME/.embedmongo"
|
ln -s "$PWD/embedmongo" "$HOME/.embedmongo"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cleanup_maven_repo "org.springframework.boot"
|
cleanup_maven_repo "org.springframework.boot"
|
||||||
|
|
||||||
|
echo 'systemProp.user.name=concourse' > ~/.gradle/gradle.properties
|
||||||
|
Loading…
Reference in New Issue
Block a user