Hi,
I couldn't find how one get do the following with Gradle:
* Get a dependency on X but exclude some of its transitive dependencies.
Something that you do in Maven with
<dependency>
<groupId>org.codehaus.groovy.modules</groupId>
<artifactId>groovyws</artifactId>
<version>0.5.2</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
</exclusion>
</exclusions>
</dependency>
* Get a tree of all dependencies resolved, a
http://maven.apache.org/plugins/maven-dependency-plugin/examples/resolving-conflicts-using-the-dependency-tree.html
"dependency:tree" in Maven.
After adding a number of dependencies I now have 3 different versions of
Groovy in my classpath:
* "org.codehaus.groovy/groovy-all/jars/groovy-all-1.8.0-rc-2.jar" - the one
and only that I need
* "org.codehaus.groovy/groovy-all/jars/groovy-all-1.7.2.jar"
* "org.codehaus.groovy/groovy/jars/groovy-1.7.10.jar"
So I'll need to track down where from older version of Groovy have leaked
into the project and exclude them.
-----
Best regards,
Evgeny
evgeny-goldin.com
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Looking-for-Maven-alternatives-for-exclusions-and-dependency-tree-tp3893447p3893447.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email