Support project dependencies in the shadow configuration#543
Support project dependencies in the shadow configuration#543johnrengelman merged 2 commits intoGradleUp:masterfrom
Conversation
|
I'm afraid the change looks strange. Can you please clarify what is the point of manually adding a module to the generated pom? So if you want something to appear (or disappear) in pom.xml, it should be implemented with altering the relevant Gradle configurations rather than edits to the |
|
Hmm, it should probably use But This seems like a new bug to me, introduced by the availability of a new form of metadata. |
|
Yeah, I'm trying to navigate the various patterns here. I previously had create my own "component" using the |
GradleUp/shadow#543 fixed project support, which means the workaround is no longer necessary.
GradleUp/shadow#543 fixed project support, which means the workaround is no longer necessary.
When dependencies in the
shadowconfiguration are project dependencies, expose them in the.pomin the same way as dependencies on external modules.Use case: a multi-project build that publishes API and implementation in separate jars, where the implementation is a shadow jar and needs a dependency on the API.
Fix for #541.