For a template app that has a bunch of product fla...
# android
p
For a template app that has a bunch of product flavors (talking 20+ and increasing), is there a different / more efficient way to manage product flavors instead of having blocks of code for each in the gradle file ?
a
not exactly a Kotlin question and I'm not sure if this works for flavors, but with build variants, I've had success with at least eliminating a lot of the boilerplate by using `initWith`: https://stackoverflow.com/questions/23559684/gradle-android-studio-inherit-buildtype