File tree Expand file tree Collapse file tree 6 files changed +17
-9
lines changed
spring-boot-docs/src/main/asciidoc
spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle
spring-boot-tools/spring-boot-gradle-plugin Expand file tree Collapse file tree 6 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 78
78
<freemarker .version>2.3.25-incubating</freemarker .version>
79
79
<elasticsearch .version>2.4.4</elasticsearch .version>
80
80
<glassfish-el .version>3.0.0</glassfish-el .version>
81
- <gradle .version>2.9 </gradle .version>
81
+ <gradle .version>3.4 </gradle .version>
82
82
<groovy .version>2.4.9</groovy .version>
83
83
<gson .version>2.8.0</gson .version>
84
84
<h2 .version>1.4.193</h2 .version>
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ diverge from the defaults.
38
38
== System Requirements
39
39
Spring Boot {spring-boot-version} requires http://www.java.com[Java 8] and Spring
40
40
Framework {spring-version} or above. Explicit build support is provided for Maven
41
- (3.2+), and Gradle 2 (2.9 or later) and 3 .
41
+ (3.2+), and Gradle 3 (3.4 or later).
42
42
43
43
44
44
[[getting-started-system-requirements-servlet-containers]]
@@ -184,8 +184,8 @@ scope.
184
184
185
185
[[getting-started-gradle-installation]]
186
186
==== Gradle installation
187
- Spring Boot is compatible with Gradle 2 (2.9 or later) and Gradle 3 . If you don't already
188
- have Gradle installed you can follow the instructions at http://www.gradle.org/.
187
+ Spring Boot is compatible with Gradle 3 (3.4 or later). If you don't already have Gradle
188
+ installed you can follow the instructions at http://www.gradle.org/.
189
189
190
190
Spring Boot dependencies can be declared using the `org.springframework.boot` `group`.
191
191
Typically your project will declare dependencies to one or more
Original file line number Diff line number Diff line change @@ -38,11 +38,9 @@ public void cleanInstall() throws Exception {
38
38
}
39
39
40
40
@ Test
41
- public void cleanInstallApp () throws Exception {
41
+ public void cleanInstallDist () throws Exception {
42
42
this .project = new ProjectCreator ().createProject ("install-app" );
43
- // "install" from the application plugin was renamed "installApp" in Gradle
44
- // 1.0
45
- this .project .newBuild ().forTasks ("installApp" )
43
+ this .project .newBuild ().forTasks ("installDist" )
46
44
.withArguments ("-PbootVersion=" + BOOT_VERSION , "--stacktrace" ).run ();
47
45
}
48
46
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public class ProjectCreator {
34
34
private String gradleVersion ;
35
35
36
36
public ProjectCreator () {
37
- this ("2.9 " );
37
+ this ("3.4 " );
38
38
}
39
39
40
40
public ProjectCreator (String gradleVersion ) {
Original file line number Diff line number Diff line change 234
234
<artifactId >gradle-plugins</artifactId >
235
235
<version >${gradle.version} </version >
236
236
</dependency >
237
+ <dependency >
238
+ <groupId >org.gradle</groupId >
239
+ <artifactId >gradle-process-services</artifactId >
240
+ <version >${gradle.version} </version >
241
+ </dependency >
237
242
<dependency >
238
243
<groupId >org.jetbrains.kotlin</groupId >
239
244
<artifactId >kotlin-runtime</artifactId >
Original file line number Diff line number Diff line change 63
63
<artifactId >gradle-plugins</artifactId >
64
64
<scope >provided</scope >
65
65
</dependency >
66
+ <dependency >
67
+ <groupId >org.gradle</groupId >
68
+ <artifactId >gradle-process-services</artifactId >
69
+ <scope >provided</scope >
70
+ </dependency >
66
71
</dependencies >
67
72
<repositories >
68
73
<repository >
You can’t perform that action at this time.
0 commit comments