Reduce how often CI builds download Gradle

Closes gh-40
This commit is contained in:
Sébastien Deleuze
2023-10-24 08:54:45 +02:00
parent bb9220a306
commit 680b442816
3 changed files with 3 additions and 3 deletions

View File

@@ -58,5 +58,3 @@ mkdir -p /opt/gradle
cd /opt/gradle
curl -L $GRADLE_URL | bsdtar --strip-components=1 -xvf-
chmod +x /opt/gradle/bin/gradle
mkdir ~/.gradle
echo 'systemProp.user.name=concourse' > ~/.gradle/gradle.properties

View File

@@ -1,3 +1,5 @@
source /opt/concourse-java.sh
setup_symlinks
echo 'systemProp.user.name=concourse' > ~/.gradle/gradle.properties

View File

@@ -4,5 +4,5 @@ set -e
source $(dirname $0)/common.sh
pushd git-repo > /dev/null
./gradlew --no-daemon ${SMOKE_TEST}:${TASK}
gradle --no-daemon ${SMOKE_TEST}:${TASK}
popd > /dev/null