Module with a Spring Boot API JVM application.
It uses the common modules as dependencies.
export enabledModules="application-backend-jvm-spring_boot"
./gradlew :application-backend-jvm-spring_boot:build
or in a simplified way (can run more tasks):
./gradlew build
./gradlew :application-backend-jvm-spring_boot:check
or in a simplified way (can run more tasks):
./gradlew check
Starting:
./gradlew :application-backend-jvm-spring_boot:bootRun
or in a simplified way (can run more tasks):
./gradlew bootRun
Calling the API:
curl "http://localhost:8080/exampleController/exampleMethod"
The output should be similar to this one:
["com.company.team.project.common.multiple_sources.jvm","com.company.team.project.common.single_source.common","com.company.team.project.common.single_source.jvm.common","com.company.team.project.application.backend.jvm.spring_boot"]