From b9769d38235e5b28e8e7872941ed93a54c25e65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JB=20Onofr=C3=A9?= Date: Mon, 2 Oct 2023 14:58:49 +0200 Subject: [PATCH] Build: Upgrade to gradle 8.4 --- build.gradle | 3 +++ gradle/wrapper/gradle-wrapper.properties | 5 ++--- gradlew | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 08f6f8a3ad4f..4498580a78ef 100644 --- a/build.gradle +++ b/build.gradle @@ -155,6 +155,9 @@ subprojects { rootTask.finalizedBy showDeprecationRulesOnRevApiFailure } } + tasks.named("revapiAnalyze").configure { + dependsOn(":iceberg-common:jar") + } } configurations { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 4a0a58d550be..b446fa9a1544 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,8 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -# checksum was taken from https://gradle.org/release-checksums -distributionSha256Sum=e111cb9948407e26351227dabce49822fb88c37ee72f1d1582a69c68af2e702f -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +distributionSha256Sum=3e1af3ae886920c3ac87f7a91f816c0c7c436f276a6eefdb3da152100fef72ae +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 0c913deb5545..5857fdbe19f2 100755 --- a/gradlew +++ b/gradlew @@ -86,7 +86,7 @@ APP_BASE_NAME=${0##*/} APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit if [ ! -e $APP_HOME/gradle/wrapper/gradle-wrapper.jar ]; then - curl -o $APP_HOME/gradle/wrapper/gradle-wrapper.jar https://raw.githubusercontent.com/gradle/gradle/v8.1.1/gradle/wrapper/gradle-wrapper.jar + curl -o $APP_HOME/gradle/wrapper/gradle-wrapper.jar https://raw.githubusercontent.com/gradle/gradle/v8.4.0/gradle/wrapper/gradle-wrapper.jar fi # Use the maximum available, or set MAX_FD != -1 to use that value.