[android] Builds for Chinese stores.

This commit is contained in:
Dmitry Yunitsky 2015-07-31 19:28:22 +03:00 committed by Alex Zolotarev
parent 5df1be6980
commit 2e9ec2ca07

View file

@ -132,6 +132,30 @@ android {
versionName = android.defaultConfig.versionName + '-Mobogenie'
android.sourceSets.mobogenie.assets.srcDirs = ['flavors/mwm-ttf-assets']
}
tencent {
versionName = android.defaultConfig.versionName + '-Tencent'
android.sourceSets.tencent.assets.srcDirs = ['flavors/mwm-ttf-assets']
// TODO While store url is unknown, force all rating reviews to be sent to our email.
// Change it in the next version after publishing app to the store.
buildConfigField 'int', 'RATING_THRESHOLD', '6'
}
baidu {
versionName = android.defaultConfig.versionName + '-Baidu'
android.sourceSets.baidu.assets.srcDirs = ['flavors/mwm-ttf-assets']
// TODO While store url is unknown, force all rating reviews to be sent to our email.
// Change it in the next version after publishing app to the store.
buildConfigField 'int', 'RATING_THRESHOLD', '6'
}
appChina {
versionName = android.defaultConfig.versionName + '-AppChina'
android.sourceSets.appChina.assets.srcDirs = ['flavors/mwm-ttf-assets']
// TODO While store url is unknown, force all rating reviews to be sent to our email.
// Change it in the next version after publishing app to the store.
buildConfigField 'int', 'RATING_THRESHOLD', '6'
}
}
// Currently (as of 1.2.3 gradle plugin) ABI filters aren't supported inside of product flavors, so we cannot generate splitted builds only for Google build.