From 2e9ec2ca074e292c4129c2f62beb2103d88aaa1f Mon Sep 17 00:00:00 2001 From: Dmitry Yunitsky Date: Fri, 31 Jul 2015 19:28:22 +0300 Subject: [PATCH] [android] Builds for Chinese stores. --- android/build.gradle | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index e404ce9c1a..0d014cef28 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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.