I am having multiple version of dependency of spring and gradle do weird conflict resolution.
| | +--- org.springframework.data:spring-data-redis:1.1.0.RELEASE
| | | +--- org.springframework:spring-context:3.1.4.RELEASE -> 4.0.0.M3 (*)
Basically it boost version from 3.1.4.RELEASE to 4.0.0.M3 and I cannot understand why. There are no reference for spring 4.0.0.M3 whatsoever. It is being pulled transitively, but no top artifact uses latest spring. I checked maven repositories and they have newest version of spring, so I cannot claim that gradle blindly takes last one version.
How can I troubleshoot it? I enabled debug, but there is no explanation why.
That’s first appearance for version 4.0.0.
10:41:39.499 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.IvyXmlModuleDescriptorParser] post 1.3 ivy file: using exact as default matcher
10:41:39.501 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleComponentRepository] Using cached module metadata for module 'org.springframework:spring-tx:4.0.0.M3' in 'maven2'