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