I have a flat multi-project like this:
- rootProject - A - B - C
Each project can be built and distributed separately.
rootProject has no code, but has a
distZip task that merges the output of
My problem is with
- I must to include it in
[A,B]depend on it
- It also has a
distZiptask to package it separately
distZiptask is also called on projcet
C, although I want my
rootProject.distZiponly depend on
Maybe it is not a very big deal, the build will just take longer, doing things I didn’t need. But in general, I find this quite puzzling: I am forced to include in
settings.gradle all projects hat are transitively - not directly - needed, but then this implies that tasks are run on all these projects as well, which might not always e what I’d like.
Am I misinterpreting something?