How to create SourceSetContainer?

Nevermind - I ended up doing this a separate way, although that opened up a new question - InputChanges and SourceSetOutput