提交 86a8f15f 编写于 作者: G Greg Turnquist

Upgrade to Spring Boot 0.5.0.M2

上级 bf2d1888
......@@ -133,10 +133,10 @@ What if you prefer Jetty over Tomcat? Jetty and Tomcat are both compliant servle
Change your `build.gradle` to exclude Tomcat then add Jetty to the list of dependencies:
```groovy
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT") {
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.M2") {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-jetty:0.5.0.BUILD-SNAPSHOT")
compile("org.springframework.boot:spring-boot-starter-jetty:0.5.0.M2")
```
If you are using Maven, the changes look like this:
......@@ -239,7 +239,7 @@ If you are building a web site for your business, you probably need to add some
Add this to your build file's list of dependencies:
```groovy
compile("org.springframework.boot:spring-boot-starter-actuator:0.5.0.BUILD-SNAPSHOT")
compile("org.springframework.boot:spring-boot-starter-actuator:0.5.0.M2")
```
If you are using Maven, add this to your list of dependencies:
......
......@@ -64,7 +64,7 @@ buildscript {
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT")
classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.M2")
}
}
......@@ -84,7 +84,7 @@ repositories {
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT")
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.M2")
testCompile("junit:junit:4.11")
}
......@@ -250,10 +250,10 @@ What if you prefer Jetty over Tomcat? Jetty and Tomcat are both compliant servle
Change your `build.gradle` to exclude Tomcat then add Jetty to the list of dependencies:
```groovy
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT") {
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.M2") {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-jetty:0.5.0.BUILD-SNAPSHOT")
compile("org.springframework.boot:spring-boot-starter-jetty:0.5.0.M2")
```
If you are using Maven, the changes look like this:
......@@ -386,7 +386,7 @@ If you are building a web site for your business, you probably need to add some
Add this to your build file's list of dependencies:
```groovy
compile("org.springframework.boot:spring-boot-starter-actuator:0.5.0.BUILD-SNAPSHOT")
compile("org.springframework.boot:spring-boot-starter-actuator:0.5.0.M2")
```
If you are using Maven, add this to your list of dependencies:
......
......@@ -4,7 +4,7 @@ buildscript {
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT")
classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.M2")
}
}
......@@ -24,11 +24,11 @@ repositories {
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT") {
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.M2") {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-jetty:0.5.0.BUILD-SNAPSHOT")
compile("org.springframework.boot:spring-boot-starter-actuator:0.5.0.BUILD-SNAPSHOT")
compile("org.springframework.boot:spring-boot-starter-jetty:0.5.0.M2")
compile("org.springframework.boot:spring-boot-starter-actuator:0.5.0.M2")
testCompile("junit:junit:4.11")
}
......
......@@ -10,7 +10,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>0.5.0.BUILD-SNAPSHOT</version>
<version>0.5.0.M2</version>
</parent>
<dependencies>
......
......@@ -4,7 +4,7 @@ buildscript {
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT")
classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.M2")
}
}
......@@ -24,7 +24,7 @@ repositories {
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT")
compile("org.springframework.boot:spring-boot-starter-web:0.5.0.M2")
testCompile("junit:junit:4.11")
}
......
......@@ -10,7 +10,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>0.5.0.BUILD-SNAPSHOT</version>
<version>0.5.0.M2</version>
</parent>
<dependencies>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册