Fixed support for Gradle by using gretty to run jetty.