Join 10350+ others. No spamming.
I promise!

Follow us at github.



akhikhl / gretty


Advanced gradle plugin for running web-apps on jetty and tomcat.



Build Status Maintainer Status Release Snapshot License

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.

Where to start

If you are new with Gretty, try getting started page.

:star: What's new

June 2, 2015: Gretty 1.2.4 is out and immediately available at Gradle plugin portal, Bintray and Maven Central.

See Gretty 1.2.4 release announcement for more information.

See also: complete list of changes in this and previous versions.


You can learn about all Gretty features in online documentation.

System requirements

Gretty requires JDK7 or JDK8 and Gradle 1.10 or newer (Gradle 2.4 is highly recommended!).

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 releases of Gretty are available at Bintray and Maven Central under the group 'org.akhikhl.gretty'.

Copyright and License

Copyright 2013-2015 (c) Andrey Hihlovskiy and contributors.

All versions, present and past, of Gretty are licensed under MIT license.

Project Stats Support via Gittip