Build changes

This commit is contained in:
mvp76 2016-11-10 12:36:11 +01:00
parent 99216d923a
commit f355232bd5
2 changed files with 10 additions and 2 deletions

View File

@ -21,6 +21,9 @@ dependencies {
compile 'com.android.support:support-v4:24.2.1' compile 'com.android.support:support-v4:24.2.1'
compile 'com.android.support:appcompat-v7:24.2.1' compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:support-annotations:24.2.1' compile 'com.android.support:support-annotations:24.2.1'
compile 'com.android.support:design:24.2.1'
compile 'com.android.support:cardview-v7:24.2.1'
compile "com.android.support:recyclerview-v7:24.2.1"
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
compile 'com.google.zxing:core:3.2.1' compile 'com.google.zxing:core:3.2.1'
@ -152,7 +155,7 @@ android {
buildTypes { buildTypes {
// use proguard on debug too since we have unknowingly broken // use proguard on debug too since we have unknowingly broken
// release builds before. // release builds before.
all { release {
minifyEnabled true minifyEnabled true
useProguard true useProguard true
shrinkResources true shrinkResources true
@ -216,6 +219,11 @@ android {
error 'AppCompatMethod', 'NestedScrolling', 'StringFormatCount', 'UnsafeProtectedBroadcastReceiver' error 'AppCompatMethod', 'NestedScrolling', 'StringFormatCount', 'UnsafeProtectedBroadcastReceiver'
} }
dexOptions {
jumboMode = true
javaMaxHeapSize "4g"
}
packagingOptions { packagingOptions {
exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE.txt'

View File

@ -3,7 +3,7 @@ buildscript {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.2.0' classpath 'com.android.tools.build:gradle:2.2.2'
classpath files('libs/gradle-witness.jar') classpath files('libs/gradle-witness.jar')
} }
} }