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.
β What's new
June 20, 2017, Gretty 2.0.0 is out and immediately available at Bintray and Maven Central.
-
Changes in this version:
-
Compatibility with Gradle 4.0
-
Support of Jetty 9.4 (issue #365).
-
Now it's possible to override versions of Jetty, Tomcat and servlet API via properties in "gradle.properties" file (issue #330). See more information in chapter overriding servlet container versions in the documentation.
-
All integration tests now run against Firefox 54.
-
Fixed product generation.
-
Support of Spring Framework 4.3.9 and Spring Boot 1.5.4.
-
Dropped support of Java 6.
See also: complete list of changes for more information.
Documentation
You can learn about all Gretty features in online documentation.
System requirements
Gretty requires JDK7 or JDK8 and Gradle 1.10 or newer (Gradle 4.0 is highly recommended!).
Since version 2.0.0 Gretty no longer supports JDK6.
Availability
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-2017 (c) Andrey Hihlovskiy, Timur Shakurov and contributors.
All versions, present and past, of Gretty are licensed under MIT license.