Use our own server to host gradle

This commit is contained in:
Felix Paul Kühne 2016-03-29 16:03:20 +02:00
parent f10e706319
commit a6c75231f7

View File

@ -77,7 +77,7 @@ checkfail()
if [ ! -d "gradle/wrapper" ]; then
echo "Downloading gradle"
GRADLE_VERSION=2.10
GRADLE_URL=http://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip
GRADLE_URL=http://download.videolan.org/pub/contrib/gradle-${GRADLE_VERSION}-all.zip
wget ${GRADLE_URL} 2>/dev/null || curl -O ${GRADLE_URL}
checkfail "gradle: download failed"