summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Zugaldia <antonio@mapbox.com>2017-03-09 11:37:01 -0800
committerAntonio Zugaldia <antonio@mapbox.com>2017-03-09 15:44:07 -0800
commit9f42383d8a49374e12dc10d5236daf5c0c7f85b5 (patch)
tree93a31298297cfe3d824259361e801f118d023516
parentdb3ffb9a2a80ba16206542f833bfeef52d66cec6 (diff)
downloadqtlocation-mapboxgl-9f42383d8a49374e12dc10d5236daf5c0c7f85b5.tar.gz
[android] re-add build config fields
-rw-r--r--platform/android/MapboxGLAndroidSDK/build.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/build.gradle b/platform/android/MapboxGLAndroidSDK/build.gradle
index 6602d919a3..2ce3780421 100644
--- a/platform/android/MapboxGLAndroidSDK/build.gradle
+++ b/platform/android/MapboxGLAndroidSDK/build.gradle
@@ -27,6 +27,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
buildConfigField "String", "GIT_REVISION_SHORT", String.format("\"%s\"", getGitRevision())
+ buildConfigField "String", "MAPBOX_VERSION_STRING", String.format("\"Mapbox/%s\"", project.VERSION_NAME)
+ buildConfigField "String", "MAPBOX_EVENTS_USER_AGENT", String.format("\"MapboxEventsAndroid/%s\"", project.VERSION_NAME)
}
// avoid naming conflicts, force usage of prefix