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, 8 and 9, 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, try getting started page.
May 21, 2018, Gretty(.org) 2.2.0 is out and immediately available at Gradle Plugins and Bintray.
-
Changes in this version:
-
Bumped default Tomcat 9 version to 9.0.6 (was 9.0.5).
-
Support added for Tomcat 8.5 and Tomcat support refactoring (thanks Boris Petrov). Tomcat 8.5 replaces deprecated Tomcat 8.0.
-
Bumped Spring Boot version to 1.5.9 (was 1.5.4).
-
Bumped versions of asm (6.1.1, was 6.0), Groovy (2.4.15, was 2.4.13) and Spring (4.3.16, was 4.3.9) (thanks Henrik Brautaset Aronsen).
-
Fixed incompatibility with java-library plugin (thanks Ollie Freeman).
-
Dev: various build and test improvements.
See also: complete list of changes for more information.
You can learn about all Gretty features in online documentation.
Gretty requires JDK8 or JDK9 and Gradle 1.10 or newer (Gradle 4.0 is highly recommended!).
- Since version 2.0.0 Gretty no longer supports JDK6.
- Since version 3.0.0 Gretty no longer supports JDK7.
Gretty is an open-source project and is freely available in sources as well as in compiled form.
Releases of Gretty (gretty.org fork) from 2.1.0 onwards are available at Bintray. Old releases of Gretty up to and including version 2.0.0 are available at Bintray.
Copyright 2013-2018 (c) Andrey Hihlovskiy, Timur Shakurov and contributors.
All versions, present and past, of Gretty are licensed under MIT license.