Matthias wrote: > > note how commons-codec appears twice in there. Shouldn't just the 1.4 JAR > be retained? >
I guess the problem is that Gradle doesn't have any metadata for the artifacts in the lib directory. Hence it doesn't know their group name, and they will never be equal to an artifact for which the group name is known (e.g. "commons-codec:commons-codec:1.4"). You should be able to solve this by declaring a flatDir repository and listing the artifacts explicitly in the dependencies section (including their group names of course). Cheers, Peter -- Peter Niederwieser Developer, Gradle http://www.gradle.org Trainer & Consultant, Gradle Inc. http://www.gradle.biz Founder, Spock Framework http://spockframework.org -- View this message in context: http://gradle.1045684.n5.nabble.com/Dupes-from-transitive-dependencies-are-not-filtered-tp3349847p3354694.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
