Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] gradle 4: jetty doesn't start war when compiled with gretty plugin

In case anyone is using gretty, hopefully the fix is obvious, else I'll downgrade gradle, since 4.0 only has gretty support.

Thanks,

Bill

https://github.com/akhikhl/gretty/issues/413

build.gradle:

apply plugin: 'war'
//apply plugin: 'jetty'
apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'

war {
    archiveName = 'pr.war'  
    webXml = file('src/web.xml')
}
# added
gretty {
    servletContainer = 'jetty9'
    httpPort = 8080
}

Back to the top