I'd like to try out Gradle by migrating a couple of Ant scripts to Gradle. The
first Ant script is for the simplest Struts 2 project. It has Ant tasks to
prepare, clean, compile, and build the war.
Unfortunately, all the Gradle examples I've seen seem to be replacements for
Maven. They assume a particular project structure and do some Maven-like
dependency checking. (In 10 years of doing J2EE projects I've never seen a
production application that used Maven or Ivy dependency checking.)
I've done a quick read of the Gradle User Guide and it also assumes a project
structure and does Maven-like dependency checking.
I'd like an example of how I convert a simple web application Ant script to
gradle, where gradle respects the existing project structure. After that I'll
add starting, stopping, cleaning, and deploying the .war file to a web server.
Dealing with application servers can be a pain in Ant.
Thanks for any pointers.