Hi, I'm new to the world of dependency management, so the following might be obvious, but I couldn't figure out how to do it.
I need to have some tests that depend on jetty, so I add this to build.gradle: addMavenRepo() testCompile 'org.mortbay.jetty:jetty:6.1.6', But compilation fails with error: error while loading Server, class file 'C:\Users\jnm\.gradle\cache\org.mortbay.jetty\jetty\jars\jetty-6.1. 6.jar(org/mortbay/jetty/Server.class)' is broken (class org.mortbay.util.Attributes not found.) Looking at http://repo2.maven.org/maven2/org/mortbay/jetty/jetty/6.1.6/jetty-6.1.6.pom, I can see jetty depends on jetty-util, and adding this to build.gradle fixes the build: testCompile 'org.mortbay.jetty:jetty-util:6.1.6' But I thought the whole purpose of dependency management was to avoid adding all the transitive dependencies manally? I'm complete wrong on this or is there another explanation for what I'm seeing? /Jeppe
