[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


See: http://gradle.1045684.n5.nabble.com/Artifact-added-to-configuration-listener-tp4541993p4541993.html

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.

Generated at Wed Jun 30 12:01:14 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.