forked from organicmaps/organicmaps
[android] Builds for Chinese stores.
This commit is contained in:
parent
5df1be6980
commit
2e9ec2ca07
1 changed files with 24 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue