With reference to this answer. Is it possible to create a copy constructor for productFlavors and sourceSets using initWith just like the
productFlavors
sourceSets
initWith