jettyRunWar task is almost identical to appRunWar task. There’s only one difference: jettyRunWar forces Gretty to ignore the value of gretty.servletContainer and run on Jetty.
gretty.servletContainer