Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to select specific jetty version in Gretty plugin

I am using Gretty plugin for running web application from Gradle script. Is it possible to select a specific version of jetty container to run? Not just jetty9 vs jetty8, but e.g. 9.2.13.v20150730

like image 933
Nikem Avatar asked May 20 '16 06:05

Nikem


1 Answers

Since Gretty 2.0.0 it is possible to override versions of Jetty and servlet-api using gradle.properties file: http://akhikhl.github.io/gretty-doc/Overriding-servlet-container-versions.html

For instance:

jetty9Version = 9.2.22.v20170606
like image 138
jreznot Avatar answered Nov 16 '22 03:11

jreznot