Use custom command again while snapshotting

This commit is contained in:
Dave Syer 2013-08-27 16:47:27 +01:00
parent 4b4b837846
commit 9c09a7156d
3 changed files with 5 additions and 5 deletions

View File

@ -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
View File

@ -0,0 +1,2 @@
info.project.name: Spring Start
info.project.version: 0.0.1

View File

@ -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