It is definitely possible. I've needed to do a similar kind of thing. Make sure this gets done before the dependencies for 'testRuntime' are resolved, though. You need to remove the configuration from the 'testRuntime' configuration.
configurations['testRuntime'].extendsFrom -= configurations['runtime'] I hope this helps. Val On Feb 3, 2011, at 7:39 AM, Alexey Zlobin wrote: > Hi, > > Is it possible to remove 'runtime' dependencies from 'test' task > classpath? Particularly i want to use different logging backends for > tests and final build. > > Alexey. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
