Thanks in advance, Does any one know how can I give jetty version in build.gradle in gradle 2.0?
In short, you can’t.
I strongly recommend using https://github.com/akhikhl/gretty for Jetty integration in Gradle, instead of the Jetty plugin that come with core Gradle.
Is this EVER going to be fixed?
There currently isn’t much motivation to update the Gradle Jetty plugin when such superior plugins (like the Gretty plugin that Luke mentioned) are available. What we will likely end up doing is deprecating the core plugin.