I\'m setting up the product flavors in my app and have run into one problem. Two of my product flavors are very similar to each other and only differ by a few resources, let\'s
I think you won't be able to do this in the android
object directly, but you can use a configuration function to set common properties on a flavor. Put this after the android
object:
void configureWhiteLabelFlavor(flavor) {
flavor.useJack = true
}
configureWhiteLabelFlavor(android.productFlavors.whiteLabelA)
If needed, you can implement deep inheritance by calling other functions from this function.