Drop support for Gradle 5.6.x
Closes gh-24225
This commit is contained in:
@@ -95,10 +95,8 @@ public class SpringBootPlugin implements Plugin<Project> {
|
||||
|
||||
private void verifyGradleVersion() {
|
||||
GradleVersion currentVersion = GradleVersion.current();
|
||||
if (currentVersion.compareTo(GradleVersion.version("5.6")) < 0
|
||||
|| (currentVersion.getBaseVersion().compareTo(GradleVersion.version("6.0")) >= 0
|
||||
&& currentVersion.compareTo(GradleVersion.version("6.3")) < 0)) {
|
||||
throw new GradleException("Spring Boot plugin requires Gradle 5 (5.6.x only) or Gradle 6 (6.3 or later). "
|
||||
if (currentVersion.compareTo(GradleVersion.version("6.3")) < 0) {
|
||||
throw new GradleException("Spring Boot plugin requires Gradle 6 (6.3 or later). "
|
||||
+ "The current version is " + currentVersion);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user