Nikem
Nikem

Reputation: 5784

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

Upvotes: 9

Views: 1515

Answers (1)

jreznot
jreznot

Reputation: 2773

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

Upvotes: 5

Related Questions