On 20/01/2011, at 8:48 PM, Mathias Kalb wrote:

> Hi,
> 
> the gradle documentation says that the transitive dependency management is 
> important and that it is important to define yout first level dependencies.
> 
> But if I define a first level dependency all transient dependencies (the 
> whole tree) are also added to the javac classpath.

This is intentional, and really comes down to the better (for most people) of 
two poor choices.

It is something we intend to fix, but the solution needs a bit of work in the 
dependency DSL, which we have yet to do. Perhaps in Gradle 1.0-milestone-2 we 
will address it.

This issue has been discussed on this list a few times already: 
http://markmail.org/message/5thz4jrel4lvcl5m


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to