1# CMD: Returns the properties (including defaults) grouped by module type of modules in the transitive closure of module(s) $arg, splits on ","
2
3include "library";
4
5[((moduleGraphNoVariants | removeSelfEdges) as $m |
6  $arg | split(",") |
7  transitiveDeps($m)) as $names |
8  .[] |
9  select (IN(.Name; $names | .[]))] |
10  group_by(.Type) |
11  map({Type: .[0].Type,
12    Props: map(.Module.Android.SetProperties) | flatten | map(.Name) | unique | sort }) |
13  sort_by(.Type)
14
15
16
17