Skip to content

Commit

Permalink
Upgrade to Spring Boot 2.0.0.RELEASE
Browse files Browse the repository at this point in the history
  • Loading branch information
bclozel committed Mar 5, 2018
1 parent 094a6f1 commit 13b53b1
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 7 deletions.
4 changes: 3 additions & 1 deletion complete/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.10.RELEASE")
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE")
}
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'

jar {
baseName = 'gs-uploading-files'
Expand All @@ -24,6 +25,7 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
testCompile("org.springframework.boot:spring-boot-starter-test")
}
Expand Down
6 changes: 5 additions & 1 deletion complete/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.10.RELEASE</version>
<version>2.0.0.RELEASE</version>
</parent>


<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions complete/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
spring.http.multipart.max-file-size=128KB
spring.http.multipart.max-request-size=128KB
spring.servlet.multipart.max-file-size=128KB
spring.servlet.multipart.max-request-size=128KB
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import org.junit.runner.RunWith;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.embedded.LocalServerPort;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.boot.test.web.client.TestRestTemplate;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.core.io.ClassPathResource;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
Expand Down
4 changes: 3 additions & 1 deletion initial/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.10.RELEASE")
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE")
}
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'

jar {
baseName = 'gs-uploading-files'
Expand All @@ -24,6 +25,7 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
testCompile("org.springframework.boot:spring-boot-starter-test")
}
Expand Down
6 changes: 5 additions & 1 deletion initial/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.10.RELEASE</version>
<version>2.0.0.RELEASE</version>
</parent>

<properties>
Expand All @@ -19,6 +19,10 @@


<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
Expand Down

0 comments on commit 13b53b1

Please sign in to comment.