forked from organicmaps/organicmaps
[android]: Add F-Droid flavor
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
parent
5136a60e26
commit
4e24af95e4
1 changed files with 8 additions and 0 deletions
|
@ -306,6 +306,13 @@ android {
|
|||
//android.sourceSets.web.assets.srcDirs = ['flavors/mwm-ttf-assets']
|
||||
}
|
||||
|
||||
fdroid {
|
||||
dimension "default"
|
||||
versionName = android.defaultConfig.versionName + '-FDroid'
|
||||
buildConfigField 'String', 'SUPPORT_MAIL', '"fdroid@omaps.app"'
|
||||
//android.sourceSets.web.assets.srcDirs = ['flavors/mwm-ttf-assets']
|
||||
}
|
||||
|
||||
nineApp {
|
||||
dimension "default"
|
||||
versionName = android.defaultConfig.versionName + '-9app'
|
||||
|
@ -370,6 +377,7 @@ android {
|
|||
variantFilter { variant ->
|
||||
if (!variant.getFlavors().get(0).name.equals("web")
|
||||
&& !variant.getFlavors().get(0).name.equals("google")
|
||||
&& !variant.getFlavors().get(0).name.equals("fdroid")
|
||||
&& !project.hasProperty("anyVariant")) {
|
||||
variant.setIgnore(true)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue