I want to run Jetty 7+ using the gradle build, but unfortunately there is no way to do this with jettyRun. Therefore, probably the simplest idea to achieve what I want would be to use a custom purpose:
task runJetty << { def server = new Server()
No luck, I just started with gradle, and I donβt know groovy either, so itβs hard for me to create the right target. I looked through the Internet, but I could not find a solution. Can someone hit me with some groovy code sample that can run an existing jar with a pier?
jetty groovy gradle war embedded-jetty
Piotr kukielka
source share