diff options
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/build.gradle b/build.gradle index f3fff2847..393663ef9 100644 --- a/build.gradle +++ b/build.gradle @@ -18,15 +18,23 @@ buildscript { mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } maven { url 'https://jitpack.io' } + maven { url 'https://maven.fabric.io/public' } } dependencies { - classpath 'com.android.tools.build:gradle:2.0.0-beta4' + classpath 'com.android.tools.build:gradle:2.0.0-beta5' classpath 'com.github.JakeWharton:sdk-manager-plugin:e05218601b1274ea0721e13b33a426f641156f69' + classpath 'io.fabric.tools:gradle:1.21.4' } } apply plugin: 'android-sdk-manager' apply plugin: 'com.android.application' +apply plugin: 'io.fabric' + +repositories { + maven { url 'https://maven.fabric.io/public' } +} + apply plugin: 'pmd' apply plugin: 'jacoco' @@ -127,13 +135,13 @@ android { useLibrary 'org.apache.http.legacy' } - } - splits { - density { - enable false - //these will merged into the universal APK - //I'm trying to really reduce the size of the low densities. - exclude "tvdpi", "xxhdpi", "xxxhdpi" + + canary { + signingConfig signingConfigs.release + zipAlignEnabled true + + minifyEnabled true + proguardFiles 'proguard-android-optimize.txt', 'proguard-rules.txt' } } } @@ -190,4 +198,7 @@ dependencies { testCompile 'junit:junit:4.12' testCompile 'org.robolectric:robolectric:3.0' testCompile 'org.mockito:mockito-core:1.9.5' + canaryCompile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') { + transitive = true; + } } |
