gradle subproject publishToMavenLocal - pom.xml does not have subproject dependencies only parent
- Parent project contains subprojects
- subprojects section of parent AND subprojects build.gradle files each have a dependencies section (note: same failure if only the subprojects have their own dependencies section)
- the pom-default.xml created contains dependencies from only the parent section. There is no merge of parent and subproject depends. If there is no parent depends then the pom has no dependencies even if the subproject lists them.
- the subproject builds fine as does a 2nd subproject of the same parent that has api project(:‘subproject1’)
how do you get the subproject generated pom-default.xml to contain the total of depends from the parent and its own build.gradle file??