Currently, I'm trying to migrate multimodule angular + spring 4 app build with ant and ivy to Spring Boot and build it with Gradle. The issue is that I don’t how to create build upon some custom requirements. Currently, app consists of 10 separate modules, each module is built to WAR file and deployed on a standalone tomcat. Modules communicate with soap and there is one “public module” with common classes etc. which is build to jar and distributed with ant to all modules as a library. What do I have to achieve with Gradle:
a) Create a multimodule structure with parent file which will aggregate common dependencies for all modules, but every module should be build to separate WAR file and should be able to build separately or all app at once.
b) Create one common module which will contain common classes and propagate them into modules as libraries or dependencies. I was thinking maybe about something like repository or something else which aggregate dependencies so there is no need to distribute classes as jar?
Problem is that I read a big part of documentation but still don’t know where to begin upon this requirements. It would be great if you guys at least give a hint which topic should I consider.
P.S. We decided to not use any migration tools for ant, the goal is to get rid of it completely.