Introduce bomGroups property
bomGroups property is for specifying subprojects. it is used with bom flag.
// project tree module1 |- submodule1 |- submodule2 module2 |- submodule1 |- submodule2
settings.gradle
includeWithFlags ':module1', 'bom'
includeWithFlags ':module1:submodule1', 'java', 'publish'
includeWithFlags ':module1:submodule2', 'java', 'publish'
includeWithFlags ':module2', 'bom'
includeWithFlags ':module2:submodule1', 'java', 'publish'
includeWithFlags ':module2:submodule2', 'java', 'publish'
build.gradle
ext {
bomGroups = [
':module1': [':module1:submodule1', ':module1:submodule2'],
':module2': [':module2:submodule1', ':module2:submodule2']
]
}
When I create module2 bom, module1's subprojects will be added to the pom file as a dependency. If use bomGroups property, module1's submodules won't be added to the module2's pom file.
It is related to #113
@trustin ping gently.
Thank you for your review!
@minwoox, @jrhee17
Will you merge this PR soon?
@ikhoon Could you take a look at this PR? 😄
Thanks for your patience and hard work! 🙇♂️💯