Modules with modules

Hello !

I have a project with a backend (ktor) and a frontend (react.js). I want to setup a monorepo.
The main structure is simple:

Root
 |_ packages
     |_ backend
     |_ frontend

But my backend is composed of severals modules:

Root
 |_ packages
     |_ backend
        |_ modules1
        |_ modules2
        |_ ...
     |_ frontend

Do you have sample or documentation about how to handle it ? My bakend folder have a settings.gradle.kts avec build.gradle.kts. Should I declare all my modules in the settings.gradle.kts root file ?

I think this is what you are after: Structuring Large Projects

Thank you ! it’s very clarifying