I have the following projects (flat structure):
trunk
-> A
-> B
-> C-War
where C contains the main deliverable/war file. I would like A and B to be subprojects for C. Unfortunately I cannot change the structure, eg. nest A and B inside C. So what I am trying to do it this:
trunk
-> A
-> src
-> build.gradle
-> B
-> src
-> build.gradle
-> C-War
-> src
-> webapp
-> build.gradle
-> settings.gradle
where the settings.gradle contains:
include "../A", "../B"
//include "A", "B"
So I need C-War to be the root folder for the ‘parent’ build.gradle file and the ‘parent’ settings.gradle file. These files cannot be located in the root of trunk.
But the above fails/the subprojects cannot be found, even though I specify relative paths to the subprojects.
Is it somehow possible to achieve the above?