BuildConfig support for every buildType / productFlavor combination

I have both free and paid versions of the app. I need to customize with gradle prop on BuildConfig which is different for every 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 products are free / paid

could you help me?

+3


source to share





All Articles