Gretty is a feature-rich gradle plugin for running web-apps on embedded servlet containers. It supports Jetty versions 7, 8 and 9, Tomcat versions 7 and 8, multiple web-apps and many more. It wraps servlet container functions as convenient Gradle tasks and configuration DSL.
A complete list of Gretty features is available in feature overview.
If you are new with Gretty, good starting point would be getting started page.
Since version 1.0.0 Gretty is represented as single gradle plugin. The right way to apply the plugin is apply plugin: 'org.akhikhl.gretty'
. Buildscript instruction to include Gretty also has changed, see more information at getting started page.
See also: complete list of changes in this and previous versions.
You can learn all about nice Gretty features in online documentation.
Gretty requires JDK7 or JDK8 and Gradle 1.11 or newer.
Gretty also works on JDK6, although Jetty support is limited to versions 7 and 8 in this case. This is due to the fact that Jetty 9 was compiled against JDK7 and it's bytecode is not compatible with JDK6.
Gretty is an open-source project and is freely available in sources as well as in compiled form.
All versions of gretty are available at jcenter and maven central under the group 'org.akhikhl.gretty'.
Copyright 2013-2014 (c) Andrey Hihlovskiy
All versions, present and past, of Gretty are licensed under MIT license.