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)]
Provided dependency 'DefaultExternalModuleDependency{group='org.springframework', name='spring-jcl', version='null', configuration='default'}' is not a valid JCL implementation
spring-jcl is not treated equally: it is detected as causing the conflict:
but cannot be selected:
It can be selected using the other method: