Skip to content

Commit 6828997

Browse files
committed
Correct minimum recommended version of Gradle to be 2.9 rather than 2.8
Closes gh-7189 See gh-6884
1 parent b191974 commit 6828997

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-boot-docs/src/main/asciidoc/getting-started.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ By default, Spring Boot {spring-boot-version} requires http://www.java.com[Java
4040
Spring Framework {spring-version} or above. You can use Spring Boot with Java 6 with some
4141
additional configuration. See <<howto.adoc#howto-use-java-6>> for more details. Explicit
4242
build support is provided for Maven (3.2+) and Gradle (1.12 or 2.x). Support for Gradle
43-
2.7 and earlier is deprecated. Gradle 3 is not supported.
43+
2.8 and earlier is deprecated. Gradle 3 is not supported.
4444

4545
TIP: Although you can use Spring Boot with Java 6 or 7, we generally recommend Java 8 if
4646
at all possible.
@@ -205,7 +205,7 @@ scope.
205205

206206
[[getting-started-gradle-installation]]
207207
==== Gradle installation
208-
Spring Boot is compatible with Gradle 1.12 or 2.x but support for 2.7 and earlier is
208+
Spring Boot is compatible with Gradle 1.12 or 2.x but support for 2.8 and earlier is
209209
deprecated. Gradle 2.14.1 is recommended. Gradle 3 is not supported. If you don't already
210210
have Gradle installed you can follow the instructions at http://www.gradle.org/.
211211

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public class SpringBootPlugin implements Plugin<Project> {
4545

4646
@Override
4747
public void apply(Project project) {
48-
if (GradleVersion.current().compareTo(GradleVersion.version("2.8")) < 0) {
48+
if (GradleVersion.current().compareTo(GradleVersion.version("2.9")) < 0) {
4949
logger.warn("Spring Boot plugin's support for Gradle "
5050
+ GradleVersion.current().getVersion()
51-
+ " is deprecated. Please upgrade to Gradle 2.8 or later.");
51+
+ " is deprecated. Please upgrade to Gradle 2.9 or later.");
5252
}
5353
project.getExtensions().create("springBoot", SpringBootPluginExtension.class,
5454
project);

0 commit comments

Comments
 (0)