Open boris-petrov opened 5 months ago
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:
removeDependency
exclude
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.
addApiDependency
addRuntimeOnlyDependency
Perhaps adding that kind of information to the README would help people like me understand what are the use-cases.
Thank you!
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'sexclude
mechanism: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!