On Thu, Jul 15, 2010 at 10:36, Rene Groeschke <[email protected]> wrote: > hi there, > In a multiproject build I'm actually setting a global junit dependency via > > ----- > subprojects{ > dependencies{ > testCompile "junit:junit:4.7" > } > } > ----- > > if one subproject now needs the latest junit release, is there a way to > override the dependency above? if I add testCompile "junit:junit:4.8.2" I > have both jars in my classpath. is there an easy solution for this?
That was not what I would have expected to happen. You could add an exclude and manually exclude the older version from the configuration(s). > regards, > René > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Jason Porter http://lightguard-jp.blogspot.com http://twitter.com/lightguardjp Software Engineer Open Source Advocate PGP key id: 926CCFF5 PGP key available at: keyserver.net, pgp.mit.edu --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
