Use two cores for gradle

This commit is contained in:
Leith Bade
2014-12-26 19:53:36 +13:00
parent 4f84082660
commit 98ea7366f3
4 changed files with 9 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ android:
cp build/android/out/$(BUILDTYPE)/ca-bundle.crt android/java/lib/src/main/assets/ca-bundle.crt && \
cp -r build/android/out/$(BUILDTYPE)/styles android/java/lib/src/main/assets/styles && \
cd android/java && \
./gradlew build
./gradlew --parallel-threads=$(JOBS) build
##### Test cases ###############################################################

View File

@@ -4,6 +4,10 @@ android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
repositories {
jcenter()
}
defaultConfig {
applicationId "com.mapbox.mapboxgl.app"
minSdkVersion 14

View File

@@ -7,9 +7,3 @@ buildscript {
classpath 'com.android.tools.build:gradle:1.0.0-rc4'
}
}
allprojects {
repositories {
jcenter()
}
}

View File

@@ -4,6 +4,10 @@ android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
repositories {
jcenter()
}
defaultConfig {
minSdkVersion 14
targetSdkVersion 21