mirror of
https://gitee.com/dcren/initializr.git
synced 2025-05-04 04:38:02 +08:00
Use custom command again while snapshotting
This commit is contained in:
parent
4b4b837846
commit
9c09a7156d
@ -2,9 +2,6 @@ package app
|
|||||||
|
|
||||||
@Grab("org.springframework.boot:spring-boot-starter-actuator:0.5.0.BUILD-SNAPSHOT")
|
@Grab("org.springframework.boot:spring-boot-starter-actuator:0.5.0.BUILD-SNAPSHOT")
|
||||||
@Grab("org.codehaus.groovy:groovy-ant:2.1.6")
|
@Grab("org.codehaus.groovy:groovy-ant:2.1.6")
|
||||||
@Grab("org.codehaus.groovy.modules.http-builder:http-builder:0.5.2")
|
|
||||||
@Grab(group='net.sf.json-lib', module='json-lib', version='2.3', classifier='jdk15')
|
|
||||||
import groovyx.net.http.*
|
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
@Log
|
@Log
|
||||||
|
2
application.properties
Normal file
2
application.properties
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
info.project.name: Spring Start
|
||||||
|
info.project.version: 0.0.1
|
@ -1,9 +1,10 @@
|
|||||||
---
|
---
|
||||||
applications:
|
applications:
|
||||||
- name: initializr
|
- name: start
|
||||||
memory: 1024M
|
memory: 1024M
|
||||||
instances: 1
|
instances: 1
|
||||||
host: initializr
|
host: start-development
|
||||||
domain: cfapps.io
|
domain: cfapps.io
|
||||||
path: .
|
path: .
|
||||||
buildpack: https://github.com/cloudfoundry/java-buildpack
|
buildpack: https://github.com/cloudfoundry/java-buildpack
|
||||||
|
command: JAVA_HOME=./.java ./spring/bin/spring run --local app.groovy -- --server.port=$PORT
|
||||||
|
Loading…
Reference in New Issue
Block a user