Dependency Resolution Groovy-All 2.5

I understand that with Groovy 2.5+ the groovy-all file does not exist. Which is fine.

The issue I am, having is My Project which wants to use groovy 2.5.6, depends on a project the was compiled with Groovy 2.4.+

When the version resolution occurs my project ends up looking for a groovy-all file 2.5.6 which does not exists.

Any way I can resolve this in my project.


Although there is no groovy-all-2.5.6.jar published, you can still depend on org.codehaus.groovy:groovy-all:2.5.6, which resolves to a POM file that lists the individual component jar files as dependencies.

Please clarify exactly what you’re doing such as Gradle version, the dependencies in your project, the error you’re seeing, etc. In the simplest case, declaring a two dependencies, one on org.codehaus.groovy:groovy-all:2.5.6, and another dependency that depends on org.codehaus.groovy:groovy-all:2.4.15, there is no problem resolving Groovy 2.5.6 despite the lack of groovy-all-2.5.6.jar.