Merge pull request #979 from mapbox/gradleSpeed

Gradle Speed
This commit is contained in:
Brad Leege
2015-03-11 15:35:06 -05:00

View File

@@ -173,16 +173,17 @@ android-lib: android-lib-$(ANDROID_ABI)
# Builds the selected/default Android library
android: android-lib-$(ANDROID_ABI)
cd android/java && ./gradlew --parallel-threads=$(JOBS) build
cd android/java && ./gradlew --parallel-threads=$(JOBS) assembleRelease
# Builds all android architectures.
android-all: $(ANDROID_ABIS)
cd android/java && ./gradlew --parallel-threads=$(JOBS) build
cd android/java && ./gradlew --parallel-threads=$(JOBS) assembleRelease
# Full build of GL Core for each architecture, build the Android Library, publish to Maven Central
android-deploy: $(ANDROID_ABIS)
cd android/java/MapboxGLAndroidSDK && chmod ugo+x deploy.sh && ./deploy.sh
android-project: android-lib
##### Render builds ############################################################