Include 6.9.x in version requirements message

Fixes gh-26952
This commit is contained in:
Andy Wilkinson
2021-06-21 17:52:03 +01:00
parent 6357e4fffa
commit 07e7398d10
2 changed files with 4 additions and 4 deletions

View File

@@ -99,8 +99,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 or 7.x. " + "The current version is " + currentVersion);
throw new GradleException("Spring Boot plugin requires Gradle 6.8.x, 6.9.x, or 7.x. "
+ "The current version is " + currentVersion);
}
}