Reputation: 351
How do you run War files generated by Gradle War plug-in on IDE? How to configure the IDE to run the file on its own? Intellij IDEA can do it. I just need to configure it for 'gradle war' and deploy the output.
Upvotes: 2
Views: 2194
Reputation: 4923
Apply "Jetty" plugin to your project:
apply plugin: 'jetty'
after that, task jettyRunWar
will be available. It will run your war from commandline or IDE.
Upvotes: 3