For the Spring Security project, it is based on Gradle and multi-modules.
Spring Security
Gradle
About testing, for one module among them, I use: