Jetty Server configuration in gradle

how can i give the reference of my

jetty-env.xml

in the gradle script. I need to run my project on jetty server.

From the docs: http://gradle.org/docs/current/dsl/org.gradle.api.plugins.jetty.JettyRun.html#org.gradle.api.plugins.jetty.JettyRun:jettyConfig

I’m guessing that if it’s a property on jettyRun then you’d want something like:

jettyRun {
  jettyConfig = file('src/resources/test/jetty-env.xml')
}

I haven’t tried it yet. I’m still trying the jetty plugin out.