apply plugin: 'war' // optional if you use spring-boot
apply from: 'https://raw.github.com/gretty-gradle-plugin/gretty/master/pluginScripts/gretty.plugin'
gretty {
// supported values:
// 'jetty7', 'jetty8', 'jetty9', 'jetty9.3', 'jetty9.4', 'tomcat7', 'tomcat8'
servletContainer = 'jetty9'
}