I try to use Gradle on an ant-based Java project. We produce a war file and four jar files. These jar files use some of the classes that also go in the war file, e.g., the reset password utility jar uses some of the database access classes and the user classes.
I can build the war file just fine. How do I specify that I also want to build these jar files?
I looked into multi-project builds but I cannot put these jar files in separate source directories cause they need classes from the war’s sources. Also, during transition from ant to gradle I’d like to keep the directory structure as is.