From 8d390e1d6da085d8789271e9ec15d37fbd2fc506 Mon Sep 17 00:00:00 2001 From: Anthony Restaino Date: Sun, 10 Jan 2016 13:55:19 -0500 Subject: [PATCH] Update gradle to use LeakCanary snapshot so that leak detection works on marshmallow --- app/build.gradle | 4 ++-- build.gradle | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index a382b6a..b2fa505 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -86,8 +86,8 @@ dependencies { compile(project(':libnetcipher')) // memory leak analysis - debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1' - releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1' + debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-SNAPSHOT' + releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-SNAPSHOT' provided 'javax.annotation:jsr250-api:1.0' diff --git a/build.gradle b/build.gradle index d52a038..19694a3 100644 --- a/build.gradle +++ b/build.gradle @@ -12,5 +12,8 @@ buildscript { allprojects { repositories { jcenter() + maven { + url 'https://oss.sonatype.org/content/repositories/snapshots/' + } } }