Answer the question
In order to leave comments, you need to log in
How to debug a Spring & Gradle Modular Project?
Tell me, what should be the gradle file in the root and in submodules in order to deploy a multi-module Spring project? For example, the modules I need are:
common - some general security settings, models
app - main application with REST API
frontend - application for the front with
backend templates - back application on VUE.js
On Spring.io there are examples of creating an application with Gradle but there single-module application where all sources are in the src folder and that's it.
Answer the question
In order to leave comments, you need to log in
At the root, you describe dependencies and tasks for all modules, in modules only what is needed inside this module. It is difficult to provide a specific build.gradle file, because the specifics of projects are different for everyone. About multi-module applications, it is written in sufficient detail in the Gradle documentation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question