As I understand it, settings.gradle must list all projects in a
multi-project build.

What I'd like is something like a Maven profile so that I can use an env var
to run different subsets of this multiproject.

eg, in settings.gradle:
projectA1
projectA2
projectB1
projectB2

so that gradle build -D projectGroup=A (say) would just build projectA1,
projectA2.

Is there a common idiom for this?

Thx
Dan

Reply via email to