BuildConfig prop for each buildType / productFlavor combination

842 views Asked by At

I have free and paid versions of an app. I need to configure with gradle a prop on BuildConfig that is different for each buildType / productFlavor combination.

  • free-debug -> prop1=value1
  • free-release -> prop1=value2
  • paid-debug -> prop1=value3
  • paid-release -> prop1=value4

My build types are debug / release, and my product flavors are free / paid

Could you help me with this?

0

There are 0 answers