Skip to content

Commit 0221695

Browse files
committed
MINOR: Upgrade to Gradle 8.14.1
This patch upgrades to Gradle 8.14.1. Note that we are switching to using the recommended "-bin" package. Signed-off-by: Federico Valeri <[email protected]>
1 parent c9fcad7 commit 0221695

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ static def projectToJUnitXmlPath(project) {
251251
return projectNames.join("/")
252252
}
253253

254-
255254
apply from: file('wrapper.gradle')
256255

257256
if (repo != null) {

gradle/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ versions += [
5959
checkstyle: project.hasProperty('checkstyleVersion') ? checkstyleVersion : "10.20.2",
6060
commonsValidator: "1.9.0",
6161
classgraph: "4.8.173",
62-
gradle: "8.14",
62+
gradle: "8.14.1",
6363
grgit: "4.1.1",
6464
httpclient: "4.5.14",
6565
jackson: "2.16.2",

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=efe9a3d147d948d7528a9887fa35abcf24ca1a43ad06439996490f77569b02d1
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip
3+
distributionSha256Sum=845952a9d6afa783db70bb3b0effaae45ae5542ca2bb7929619e8af49cb634cf
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ esac
116116
# Loop in case we encounter an error.
117117
for attempt in 1 2 3; do
118118
if [ ! -e "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" ]; then
119-
if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v8.14.0/gradle/wrapper/gradle-wrapper.jar"; then
119+
if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v8.14.1/gradle/wrapper/gradle-wrapper.jar"; then
120120
rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
121121
# Pause for a bit before looping in case the server throttled us.
122122
sleep 5

wrapper.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ wrapper {
3030
// Custom task to inject support for downloading the gradle wrapper jar if it doesn't exist.
3131
// This allows us to avoid checking in the jar to our repository.
3232
// Additionally adds a license header to the wrapper while editing the file contents.
33-
task bootstrapWrapper() {
33+
tasks.register('bootstrapWrapper') {
3434
// In the doLast block so this runs when the task is called and not during project configuration.
3535
doLast {
3636
def wrapperBasePath = "\$APP_HOME/gradle/wrapper"
@@ -79,7 +79,7 @@ task bootstrapWrapper() {
7979
wrapper.finalizedBy bootstrapWrapper
8080

8181
// Remove the generated batch file since we don't test building in the Windows environment.
82-
task removeWindowsScript(type: Delete) {
82+
tasks.register('removeWindowsScript', Delete) {
8383
delete "$rootDir/gradlew.bat"
8484
}
8585
wrapper.finalizedBy removeWindowsScript

0 commit comments

Comments
 (0)