Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Yunitsky <yunik@mapswithme.com>2015-10-15 18:30:20 +0300
committerDmitry Yunitsky <yunik@mapswithme.com>2015-10-15 18:30:20 +0300
commit66c4175c8d7ab92bbce5920c200c0d1ce262c1ad (patch)
treea83fb30cad1b40f262f6324a383d96ccb6837488
parent8cd5d711abc7731cd40e2e20903e39b20c313cf7 (diff)
[android] Added mobomarket build.
-rw-r--r--android/build.gradle9
-rw-r--r--android/gradle/wrapper/gradle-wrapper.properties4
2 files changed, 10 insertions, 3 deletions
diff --git a/android/build.gradle b/android/build.gradle
index 2722e59a69..23bf2c3dfc 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -158,6 +158,14 @@ android {
// Change it in the next version after publishing app to the store.
buildConfigField 'int', 'RATING_THRESHOLD', '6'
}
+
+ moboMarket {
+ versionName = android.defaultConfig.versionName + '-MoboMarket'
+ android.sourceSets.moboMarket.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.
@@ -244,7 +252,6 @@ android {
}
}
-import com.android.build.OutputFile
project.ext.versionCodes = ['armeabi-v7a':1, 'x86':2]
android.applicationVariants.all { variant ->
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
index c99976c937..03e01cd51c 100644
--- a/android/gradle/wrapper/gradle-wrapper.properties
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Mon Sep 21 15:29:56 PDT 2015
+#Thu Oct 15 18:48:25 MSK 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-all.zip