[GRADLE-265] Add resolve method to a Configuration object that takes a transitive argument Created: 20/Oct/08  Updated: 04/Jan/13  Resolved: 19/May/09

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 0.6

Type: Improvement
Reporter: Hans Dockter Assignee: Adam Murdoch
Resolution: Fixed Votes: 0


 Description   

Sometimes you want to manually retrieve all dependencies of a configuration including the transitive ones, although the configuration object has transitive set to false. There is also the usecase for the other way around. Therefore it would be nice to have a resolve method that takes a transitive argument which overrides the transitive setting of the field for this particular resolve.



 Comments   
Comment by Adam Murdoch [ 19/May/09 ]

This can be done using

files = myConfig.copy().setTransitive(true).resolve()
Generated at Wed Jun 30 11:25:47 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.