Merge branch '3.1.x' into 3.2.x
Closes gh-39513
This commit is contained in:
@@ -123,8 +123,8 @@ public class SpringBootPlugin implements Plugin<Project> {
|
||||
|
||||
private void verifyGradleVersion() {
|
||||
GradleVersion currentVersion = GradleVersion.current();
|
||||
if (currentVersion.compareTo(GradleVersion.version("7.4")) < 0) {
|
||||
throw new GradleException("Spring Boot plugin requires Gradle 7.x (7.4 or later). "
|
||||
if (currentVersion.compareTo(GradleVersion.version("7.5")) < 0) {
|
||||
throw new GradleException("Spring Boot plugin requires Gradle 7.x (7.5 or later). "
|
||||
+ "The current version is " + currentVersion);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user