summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPablo Guardiola <guardiola31337@gmail.com>2017-12-05 10:12:16 +0100
committerGitHub <noreply@github.com>2017-12-05 10:12:16 +0100
commit1ce3d2e5ef12c9e430ed37a5c98232781392755a (patch)
tree6806e24466dea16782dfebe1fb7589d79d91668e /Makefile
parent784b71a81c469e9fc5297c4006846238f91fe724 (diff)
downloadqtlocation-mapboxgl-1ce3d2e5ef12c9e430ed37a5c98232781392755a.tar.gz
[android] remove unnecessary jar generation from gradle-publish.gradle (#10625)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d54dcc4fd6..d6802cf962 100644
--- a/Makefile
+++ b/Makefile
@@ -613,7 +613,12 @@ apackage: platform/android/configuration.gradle
# Uploads the compiled Android SDK to Maven
.PHONY: run-android-upload-archives
run-android-upload-archives: platform/android/configuration.gradle
- cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=all :MapboxGLAndroidSDK:uploadArchives
+ cd platform/android && export IS_LOCAL_DEVELOPMENT=false && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=all :MapboxGLAndroidSDK:uploadArchives
+
+# Uploads the compiled Android SDK to ~/.m2/repository/com/mapbox/mapboxsdk
+.PHONY: run-android-upload-archives-local
+run-android-upload-archives-local: platform/android/configuration.gradle
+ cd platform/android && export IS_LOCAL_DEVELOPMENT=true && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=all :MapboxGLAndroidSDK:uploadArchives
# Dump system graphics information for the test app
.PHONY: android-gfxinfo