ConfigurationContainer extends DomainObjectCollection<Configuration> and inherits the getAll() method. On each configuration that is in the returned set, the exclude(Map) method is being called.
2011/8/28 Etienne Studer <[email protected]> > Hi > > The code below works properly to exclude the transitive dependency > commons-logging from all configurations. But, I'm not sure in detail why it > works. Afaik, there is no configuration with a name that starts with all... > Then why does it still exclude that dependency from all configurations? > > configurations { > all*.exclude group: 'commons-logging' > } > > I like the behavior - I'm just trying to understand better what is going on > in detail. Thanks for any clarification. > > Regards, Etienne > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Excluding-transitive-dependencies-how-why-does-it-work-tp4742945p4742945.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 > > >
