My question came up because i face a strange behaviour with some dependencies that we use in our projects where the resolving is done via IVY (Ant/Gant build) and that I’m migrating to a Gradle build.
Here my example dependency :
<dependency org="org.apache.xmlgraphics" name="fop" rev="0.94" conf="default->compile,master" />
Using Ivy directly ends up with
downloading https://company/repository/trunk/ivyrepo/org.apache.xmlgraphics/fop/0.94/fop-0.94.jar … so no problem.
Now when I use the same dependency in my gradle build using the same Ivy.jar ,repository etc… it ends up with
Caused by: java.lang.RuntimeException: Module version group:, module:PMOAM, version:1.0, configuration:testCompile declares a dependency on configuration 'default->compile,master' which is not declared in the module descriptor for group:org.apache.xmlgraphics, module:fop, version:0.94