diff --git a/app.groovy b/app.groovy index c5473c4a..5df9f860 100644 --- a/app.groovy +++ b/app.groovy @@ -2,9 +2,6 @@ package app @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.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 @Log diff --git a/application.properties b/application.properties new file mode 100644 index 00000000..417391d3 --- /dev/null +++ b/application.properties @@ -0,0 +1,2 @@ +info.project.name: Spring Start +info.project.version: 0.0.1 \ No newline at end of file diff --git a/manifest.yml b/manifest.yml index 1352ca0b..c3d63b56 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,9 +1,10 @@ --- applications: -- name: initializr +- name: start memory: 1024M instances: 1 - host: initializr + host: start-development domain: cfapps.io path: . buildpack: https://github.com/cloudfoundry/java-buildpack + command: JAVA_HOME=./.java ./spring/bin/spring run --local app.groovy -- --server.port=$PORT