Copy constructor using "initWith" for "productFlavors" and "sourceSets"

945 Views Asked by At

With reference to this answer. Is it possible to create a copy constructor for productFlavors and sourceSets using initWith just like the one in the linked answer. That one worked great for buildTypes.

For buildTypes it was done this way:

debugfree.initWith(buildTypes.debug)

Is this possible for productFlavors and sourceSets as well?

0

There are 0 best solutions below