On Sep 26, 2008, at 1:20 PM, Hans Dockter wrote:
After doing some research to answer this question I found a new
feature in Ivy which is supposed to enable this. It is not
documented yet in the Ivy doc.
There is some description in the related issue:
https://issues.apache.org/jira/browse/IVY-784
Could you file an issue for exposing this via Gradle?
i have created a jira issue http://jira.codehaus.org/browse/GRADLE-244
You can also use the force attribute in your Gradle dependency
declaration to make a certain version win.
I am not sure if i understand the dependency mechnism correctly. I
think, if i define the dependency in the root build.gradle, every
submodule has this dependency in their classpath.
but the advantage of the maven dependencyMechanism is that the
dependency is only in the classpath if this dependency is defined in
the sub-module. And only then the attributes like exclude and version
are inherit from the root build.gradle.
right?
marko
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email