Ivy file with version mismatch problem


(balazs.hamorszky) #1

We have some faulty ivy files. The revision differs from the repository pattern and we are getting errors like this:

Caused by: org.gradle.api.internal.artifacts.ivyservice.ModuleVersionNotFoundException: Could not find myGrp2:MyMod:2.1. Required by:

MyProj > MyGrp1:MyMod1:2.4

Is it possible to set the Ivy resolver into dynamic Resolve mode? http://ant.apache.org/ivy/history/latest-milestone/use/resolve.html


(balazs.hamorszky) #2

or setting alwaysCheckExactRevision to false http://ant.apache.org/ivy/history/2.2.0/settings/resolvers.html


#3

You can enable dynamic resolve mode: http://www.gradle.org/docs/current/userguide/dependency_management.html#ivy_dynamic_resolve_mode