gradlex-org / jvm-dependency-conflict-resolution

Gradle plugin to improve Dependency Conflict Detection and Resolution
http://gradlex.org/jvm-dependency-conflict-resolution/
Apache License 2.0
52 stars 14 forks source link

selectJCLImplementation should allow choosing spring-jcl #129

Open pkubowicz opened 6 months ago

pkubowicz commented 6 months ago

spring-jcl is not treated equally: it is detected as causing the conflict:

      > Module 'commons-logging:commons-logging' has been rejected:
           Cannot select module with conflict on capability 'org.gradlex:commons-logging-impl:1.0' also provided by [org.slf4j:jcl-over-slf4j:2.0.13(compile), commons-logging:commons-logging:1.1.3(compile), org.springframework:spring-jcl:6.1.6(apiElements)]

but cannot be selected:

selectJCLImplementation("org.springframework:spring-jcl")
Provided dependency 'DefaultExternalModuleDependency{group='org.springframework', name='spring-jcl', version='null', configuration='default'}' is not a valid JCL implementation

It can be selected using the other method:

select(CapabilityDefinition.COMMONS_LOGGING_IMPL, "org.springframework:spring-jcl")