25eb93b136
(Note: this commit leaves the repository in a non-compilable state as it leaves some of the old API usages unchanged; they are replaced with new implementations in further commits where more appropriate) The new implementation covers the wider interface, and the factory should now be used not on its own but in a named domain object container (the API for creating a source set is now provided through the source sets container rather than the factory, so that source sets are also properly registered).