From 26d620ec556e55ac7ce6b9e13c7571bb750213da Mon Sep 17 00:00:00 2001 From: Ismael Juma Date: Tue, 11 Aug 2020 09:22:19 -0700 Subject: [PATCH] MINOR: Upgrade Gradle to 6.6 (#9160) A couple of important bug fixes affecting Scala compilation are the main driver: * https://github.com/gradle/gradle/issues/13224 * https://github.com/gradle/gradle/issues/13392 Full release notes for the other improvements: * https://docs.gradle.org/6.6/release-notes.html Reviewers: Manikumar Reddy --- gradle/dependencies.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index e902846458f1..f1b3c570b14d 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -61,7 +61,7 @@ versions += [ bcpkix: "1.66", checkstyle: "8.20", commonsCli: "1.4", - gradle: "6.5", + gradle: "6.6", gradleVersionsPlugin: "0.29.0", grgit: "4.0.2", httpclient: "4.5.12", diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 186b71557c50..bca17f36566b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index f0890d78834c..5a9d8a1059d5 100755 --- a/gradlew +++ b/gradlew @@ -84,7 +84,7 @@ esac # Loop in case we encounter an error. for attempt in 1 2 3; do if [ ! -e $APP_HOME/gradle/wrapper/gradle-wrapper.jar ]; then - if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v6.5.0/gradle/wrapper/gradle-wrapper.jar"; then + if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v6.6.0/gradle/wrapper/gradle-wrapper.jar"; then rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" # Pause for a bit before looping in case the server throttled us. sleep 5