Skip to content

Instantly share code, notes, and snippets.

@danhyun
Created June 23, 2015 17:11
Show Gist options
  • Save danhyun/cadd17407e77828d55c9 to your computer and use it in GitHub Desktop.
Save danhyun/cadd17407e77828d55c9 to your computer and use it in GitHub Desktop.
Simple Ratpack Hello World groovy script
@GrabResolver(name="OJO", root="https://oss.jfrog.org/artifactory/repo")
@Grab("io.ratpack:ratpack-groovy:0.9.18-SNAPSHOT")
import static ratpack.groovy.Groovy.ratpack
ratpack {
handlers {
get {
render "Hello, World"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment