BuildConfig prop for each buildType / productFlavor combination

北城以北 提交于 2019-12-12 17:20:31

问题


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?

来源:https://stackoverflow.com/questions/27405301/buildconfig-prop-for-each-buildtype-productflavor-combination

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!