Skip to content

Commit ddcd0f7

Browse files
committed
FIX BUG - Enforce Gradle version to be at least of v7.5
The documented and tested minimum Gradle version is 7.5 Signed-off-by: Jakob Wanger <[email protected]>
1 parent 09a6ae5 commit ddcd0f7

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ public void apply(Project project) {
123123

124124
private void verifyGradleVersion() {
125125
GradleVersion currentVersion = GradleVersion.current();
126-
if (currentVersion.compareTo(GradleVersion.version("7.4")) < 0) {
127-
throw new GradleException("Spring Boot plugin requires Gradle 7.x (7.4 or later). "
126+
if (currentVersion.compareTo(GradleVersion.version("7.5")) < 0) {
127+
throw new GradleException("Spring Boot plugin requires Gradle 7.x (7.5 or later). "
128128
+ "The current version is " + currentVersion);
129129
}
130130
}

0 commit comments

Comments
 (0)