Hi
I'm experimenting with gradle on our project that's currently built with
maven2, and am wondering how best to do certain things.
Our layout in m2 is one that looks a bit like this:
workspace/
pom/
projA/
moduleA1/
moduleA2/
projB/
moduleB1/
moduleB2/
...
(this is similar to the layout used by the codehaus cargo project).
Each of the projA, projB has 'pom' as the parent (where common
dependencyManagement settings etc are held) - not 'workspace'
Each of projA, projB can be checked out of the repository in isolation, and
built on their own (dependencies resolved through a repository).
They can have their own versioning and lifecycles.
'workspace' ties together all the projects for a 'master' build, so when m2
is invoked from there, everything is built in the right order.
I have successfully created gradle multiproject builds at the 'projA' level,
but I'm having difficulty figuring out what I should do in the 'workspace'
level - having another settings.gradle there doesn't seem to be right, and
the docs seem to imply only one settings.gradle per project, which
is a problem for this kind of layout..