We have an old project that is set up like this:
.
├── customizationProject
│ ├── ejb
│ └── services
├── projectA
│ ├── ejb
│ └── shared
├── projectB
This is a fairly easy structure to support with Gradle. Add a settings.gradle file to your customizationProject directory with this content:
includeFlat 'projectA', 'projectB', 'projectC'
And you can confirm the project structure from the command line:
$ gradle projects
:projects
------------------------------------------------------------
Root Project
------------------------------------------------------------
Root project 'customizationProject'
+--- Project ':projectA'
+--- Project ':projectB'
\--- Project ':projectC'
The description of the includeFlat method is available in the Gradle documentation.
Hope that helps!