jvm-dependency-conflict-resolution
jvm-dependency-conflict-resolution copied to clipboard
Question about patching metadata of published components
Discussions are not enabled for this repo so I open an issue for that, sorry.
I'm wondering about patching metadata of published components. Especially the removeDependency
- how is that different from using Gradle's exclude
mechanism:
implementation('org.jobrunr:jobrunr:7.2.0') {
exclude group: 'org.jobrunr', module: 'jobrunr-bom'
}
Why would one prefer one over the other?
A second question would be why and when would I want to use the other methods in that link - addApiDependency
, addRuntimeOnlyDependency
, etc.
Perhaps adding that kind of information to the README would help people like me understand what are the use-cases.
Thank you!