I have the same question as James and the above response doesn’t answer the question for me.
I am new to Gradle and Jetty and am stuck in the gap between Gradle documentation and Jetty documentation.
How do I know which version of Jetty is being used (so I can read the correct Jetty documentation)?
The Gradle documentation says: jettyConfig – The jetty configuration file to use. When null, no configuration file is used.
Which config file are they referring to (Jetty has at least 3) When the setting is null and no config file is used, how is Jetty configured? Can I provide a jetty-web.xml or jetty-env.xml? If so, where do I put them? How do I override the default location? Are there any Groovy/DSL tricks for controlling/overriding configuration?
These kinds of questions are not addressed in the Web App Quickstart or in the Jetty Plugin reference. The Web App Quickstart should provide a complete example with a JNDI DataSource configuration.