Browse Source

Update gradle to use LeakCanary snapshot so that leak detection works on marshmallow

master
Anthony Restaino 9 years ago
parent
commit
8d390e1d6d
  1. 4
      app/build.gradle
  2. 3
      build.gradle

4
app/build.gradle

@ -86,8 +86,8 @@ dependencies { @@ -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'

3
build.gradle

@ -12,5 +12,8 @@ buildscript { @@ -12,5 +12,8 @@ buildscript {
allprojects {
repositories {
jcenter()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
}

Loading…
Cancel
Save