I am trying to get composite builds work in a multi-module setup.
child1 and child2 are compile dependent and not compile project dependent. Usually, child1 and child2 are built separately.
Occasionally, i want to build from parent and use composite builds to supply the dependencies.
I tried having a multi-module structure and the children don’t inherit anything from parent and can be built in isolation without parent.
gradlew --include-build …/child1 :child2:build
I got ‘included build collides with subproject of the same name’ Is there any solution for this problem?