When you insert apply plugin: 'org.gretty' to "build.gradle", Gretty plugin facilitates the project with the following gradle tasks:
| Tasks | Purpose | Servlet container | Stopped by | Uses WAR | Debug | 
|---|---|---|---|---|---|
| Starts web-app | defined by gretty.servletContainer | keypress | no | no | |
| Starts web-app | defined by gretty.servletContainer | keypress | no | yes | |
| Starts web-app | defined by gretty.servletContainer | keypress | yes | no | |
| Starts web-app | defined by gretty.servletContainer | keypress | yes | yes | |
| Starts web-app | defined by gretty.servletContainer | appStop | no | no | |
| Starts web-app | defined by gretty.servletContainer | appStop | no | yes | |
| Starts web-app | defined by gretty.servletContainer | appStop | yes | no | |
| Starts web-app | defined by gretty.servletContainer | appStop | yes | yes | |
| Stops web-app | - | - | - | - | |
| Restarts web-app | - | - | - | - | |
| Starts app before integration test. | defined by gretty.servletContainer | appAfterIntegrationTest | no | no | |
| Stops app after integration test. | - | - | - | - | |
| Starts web-app | jetty | keypress | no | no | |
| Starts web-app | jetty | keypress | no | yes | |
| Starts web-app | jetty | keypress | yes | no | |
| Starts web-app | jetty | keypress | yes | yes | |
| Starts web-app | jetty | jettyStop | no | no | |
| Starts web-app | jetty | jettyStop | no | yes | |
| Starts web-app | jetty | jettyStop | yes | no | |
| Starts web-app | jetty | jettyStop | yes | yes | |
| same as appStop | - | - | - | - | |
| same as appRestart | - | - | - | - | |
| Starts web-app | tomcat | keypress | no | no | |
| Starts web-app | tomcat | keypress | no | yes | |
| Starts web-app | tomcat | keypress | yes | no | |
| Starts web-app | tomcat | keypress | yes | yes | |
| Starts web-app | tomcat | tomcatStop | no | no | |
| Starts web-app | tomcat | tomcatStop | no | yes | |
| Starts web-app | tomcat | tomcatStop | yes | no | |
| Starts web-app | tomcat | tomcatStop | yes | yes | |
| same as appStop | - | - | - | - | |
| same as appRestart | - | - | - | - |