[GRADLE-1662] DomainObjectCollection should implement Set or Collection Created: 05/Jul/11 Updated: 04/Jan/13 Resolved: 28/Jul/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.0-milestone-4 |
Type: | Improvement | ||
Reporter: | Luke Daley | Assignee: | Luke Daley |
Resolution: | Fixed | Votes: | 0 |
Description |
See: http://gradle.1045684.n5.nabble.com/Artifact-added-to-configuration-listener-tp4541993p4541993.html |
Comments |
Comment by Luke Daley [ 06/Jul/11 ] |
I had a quick go at this and it's not without issue. The biggest problem I found is that the add() method on collection clashes with the add() method on ResolverContainer (which extends NamedDomainObjectContainer). I am now thinking we may be better off not doing this, and just exposing a java.util.Collection compatible view like we currently do with the getAll() method. |