Advanced gradle plugin for running web-apps on jetty and tomcat.
Groovy Java
Latest commit 936fcb7 Aug 5, 2016 @akhikhl committed on GitHub Merge pull request #281 from akhikhl/develop
release 1.4.0


Build Status Maintenance Status Latest 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

Join the chat at

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

⭐️ What's new

Aug 5, 2016: Andrey Hihlovskiy is back to maintaining Gretty! Many thanks to Timur Shakurov for his great work on Gretty maintenance during the past year!

Aug 5, 2016: Gretty 1.4.0 is out and immediately available at Bintray and Maven Central.

See Gretty 1.4.0 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.14.1 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

Copyright and License

Copyright 2013-2016 (c) Andrey Hihlovskiy, Timur Shakurov and contributors.

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