mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-26 22:25:51 +08:00
Push template updates for Boot version changes
This commit is contained in:
@@ -126,11 +126,11 @@ class MainController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@Grab("org.projectreactor:reactor-core:1.0.0.M2")
|
|
||||||
import reactor.core.Reactor
|
import reactor.core.Reactor
|
||||||
import reactor.function.Consumer
|
import reactor.function.Consumer
|
||||||
import reactor.event.selector.Selectors
|
import reactor.event.selector.Selectors
|
||||||
import reactor.event.Event
|
import reactor.event.Event
|
||||||
|
@Grab("reactor-core")
|
||||||
class ReactorConfiguration {
|
class ReactorConfiguration {
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
|||||||
@@ -6,5 +6,3 @@ applications:
|
|||||||
host: start-development
|
host: start-development
|
||||||
domain: cfapps.io
|
domain: cfapps.io
|
||||||
path: .
|
path: .
|
||||||
buildpack: https://github.com/cloudfoundry/java-buildpack
|
|
||||||
command: ls && JAVA_HOME=./.java ./spring/bin/spring run --local app.groovy -- --server.port=$PORT
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies><% styles.each { %>
|
<dependencies><% styles.each { %>
|
||||||
@@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<start-class>${packageName}.Application</start-class>
|
<start-class>${packageName}.Application</start-class>
|
||||||
|
<java.version>1.7</java.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
@@ -45,7 +46,7 @@
|
|||||||
<repository>
|
<repository>
|
||||||
<id>spring-snapshots</id>
|
<id>spring-snapshots</id>
|
||||||
<name>Spring Snapshots</name>
|
<name>Spring Snapshots</name>
|
||||||
<url>http://repo.springsource.org/snapshot</url>
|
<url>http://repo.spring.io/snapshot</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
@@ -53,7 +54,7 @@
|
|||||||
<repository>
|
<repository>
|
||||||
<id>spring-milestones</id>
|
<id>spring-milestones</id>
|
||||||
<name>Spring Milestones</name>
|
<name>Spring Milestones</name>
|
||||||
<url>http://repo.springsource.org/milestone</url>
|
<url>http://repo.spring.io/milestone</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
@@ -63,11 +64,19 @@
|
|||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>spring-snapshots</id>
|
<id>spring-snapshots</id>
|
||||||
<name>Spring Snapshots</name>
|
<name>Spring Snapshots</name>
|
||||||
<url>http://repo.springsource.org/snapshot</url>
|
<url>http://repo.spring.io/snapshot</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>spring-milestones</id>
|
||||||
|
<name>Spring Milestones</name>
|
||||||
|
<url>http://repo.spring.io/milestone</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
Reference in New Issue
Block a user