From 77c71a610f0487106fd7c9ede4fbd10bfe805954 Mon Sep 17 00:00:00 2001 From: Dmitry Yunitsky Date: Mon, 19 Jan 2015 15:23:34 +0300 Subject: [PATCH] Flavor for opera. --- android/build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index ec34880d0f..1119ba7f7e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -117,9 +117,17 @@ android { applicationId 'com.mapswithme.maps.pro' buildConfigField 'String', 'REVIEW_URL', '"http://maps.me/"' buildConfigField 'String', 'SUPPORT_MAIL', '"android@maps.me"' - buildConfigField 'boolean', 'IS_PREINSTALLED', 'true' + buildConfigField 'boolean', 'IS_PREINSTALLED', 'false' android.sourceSets.xiaomi.assets.srcDirs = ['flavors/mwm-ttf-assets'] } + + opera { + applicationId 'com.mapswithme.maps.pro' + buildConfigField 'String', 'REVIEW_URL', '"http://maps.me/"' + buildConfigField 'String', 'SUPPORT_MAIL', '"android@maps.me"' + buildConfigField 'boolean', 'IS_PREINSTALLED', 'false' + android.sourceSets.opera.assets.srcDirs = ['flavors/mwm-ttf-assets'] + } } // TODO: Fix a lot of lint errors in our code