Gradle2 still can't specify jetty version?


(老谢) #1

Gradle 1.x has jetty plugin with jetty6.x, my application want to use servlet 3.0 so need jetty 7 or 8; I know there are some un-official plugins can do that, but I am waiting a official solution; so for now we still use maven.

But seems gradle 2 still can’t specify jetty version?


(Radim Kubacki) #2

I’d recommend to look at plugins like https://github.com/akhikhl/gretty

There is no immediate plan to work on a jetty plugin that is bundled with Gradle. The core team is busy with more fundamental changes in Gradle itself and this is a perfect opportunity where external plugins can do an excellent job.


#3

You can see that this is a ‘semi-official’ solution: http://plugins.gradle.org/plugin/org.akhikhl.gretty