From ea1c36888a3ad750b3651e866cf1ed4df1854371 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Mon, 3 Jun 2024 09:35:00 +0200 Subject: [PATCH] Upgrade to Gradle 8.8 Closes gh-1537 --- .../gradle/8/wrapper/gradle/wrapper/gradle-wrapper.properties | 2 +- .../src/main/resources/gradle/8/wrapper/gradlew | 2 +- .../gradle/GradleKtsProjectGenerationConfigurationTests.java | 2 +- .../build/gradle/GradleProjectGenerationConfigurationTests.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/initializr-generator-spring/src/main/resources/gradle/8/wrapper/gradle/wrapper/gradle-wrapper.properties b/initializr-generator-spring/src/main/resources/gradle/8/wrapper/gradle/wrapper/gradle-wrapper.properties index b82aa23a4f..a4413138c9 100644 --- a/initializr-generator-spring/src/main/resources/gradle/8/wrapper/gradle/wrapper/gradle-wrapper.properties +++ b/initializr-generator-spring/src/main/resources/gradle/8/wrapper/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/initializr-generator-spring/src/main/resources/gradle/8/wrapper/gradlew b/initializr-generator-spring/src/main/resources/gradle/8/wrapper/gradlew index 1aa94a4269..b740cf1339 100755 --- a/initializr-generator-spring/src/main/resources/gradle/8/wrapper/gradlew +++ b/initializr-generator-spring/src/main/resources/gradle/8/wrapper/gradlew @@ -55,7 +55,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. diff --git a/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/GradleKtsProjectGenerationConfigurationTests.java b/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/GradleKtsProjectGenerationConfigurationTests.java index 9a24b9ada6..c5efa90403 100644 --- a/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/GradleKtsProjectGenerationConfigurationTests.java +++ b/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/GradleKtsProjectGenerationConfigurationTests.java @@ -87,7 +87,7 @@ void buildWriterIsContributed(String platformVersion) { static Stream gradleWrapperParameters() { return Stream.of(Arguments.arguments("2.2.3.RELEASE", "6.9.3"), Arguments.arguments("2.5.0", "7.6.3"), - Arguments.arguments("2.7.10", "8.7")); + Arguments.arguments("2.7.10", "8.8")); } @ParameterizedTest(name = "Spring Boot {0}") diff --git a/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/GradleProjectGenerationConfigurationTests.java b/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/GradleProjectGenerationConfigurationTests.java index b4c03ca336..7bb43a42fe 100644 --- a/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/GradleProjectGenerationConfigurationTests.java +++ b/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/GradleProjectGenerationConfigurationTests.java @@ -86,7 +86,7 @@ void buildWriterIsContributed(String platformVersion) { static Stream gradleWrapperParameters() { return Stream.of(Arguments.arguments("2.2.3.RELEASE", "6.9.3"), Arguments.arguments("2.5.0", "7.6.3"), - Arguments.arguments("2.7.10", "8.7")); + Arguments.arguments("2.7.10", "8.8")); } @ParameterizedTest(name = "Spring Boot {0}")