基本的にこのへんにならう。
http://docs.cloudfoundry.com/frameworks/java/spring/grails.html
http://blog.springsource.com/2011/04/12/one-step-deployment-with-grails-and-cloud-foundry/
http://docs.cloudfoundry.com/tools/deploying-apps.html
repositories {
mavenRepo 'http://maven.springframework.org/milestone'
}
plugins {
compile ":cloud-foundry:1.2.3"
}
grails.plugin.cloudfoundry.username="demo@example.com"
grails.plugin.cloudfoundry.password="demopassword"