From 9f42383d8a49374e12dc10d5236daf5c0c7f85b5 Mon Sep 17 00:00:00 2001 From: Antonio Zugaldia Date: Thu, 9 Mar 2017 11:37:01 -0800 Subject: [android] re-add build config fields --- platform/android/MapboxGLAndroidSDK/build.gradle | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1