I'm creating a multimodule project using Spring Boot. the structure of the project is like this:
-configuration
|--- src
|--- main
|--- java
|--- resources
|--- build.gradle
-module1
|--- src
|--- main
|--- java
|--- resources
|--- build.gradle
-module2
|--- src
|--- main
|--- java
|--- resources
|--- build.gradle
build.gradle
settings.gradle
module1 is for the persistence of the application, and its resources directory contains the file application.properties containing the configuration of the database and also data.sql and schema.sql
When I run the application the resources are loaded only from the "configuration" module and not from module1. my goal is to load all the resources folders of all the modules (since each module has a different responsibility)