Join Slack
Powered by
For a template app that has a bunch of product fla...
# android
p
Parshav
08/23/2018, 5:35 PM
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
ankushg
08/23/2018, 5:43 PM
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
Open in Slack
Previous
Next