summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-09-27 13:09:23 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-09-27 13:18:27 +0530
commit57273d185d114abbe9f41cf3eec98b9b3faddf8a (patch)
tree0a39ac3baa34b4ffc0d57035bd78d904dc2123f1 /app
parent489518000971914b2608da43e2146690dcc02cb9 (diff)
Add LeakCanary to debug builds
LeakCanary is an advanced memory leak detection library for Android designed by the fine folks at Square. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 71ba01c9..34a471cf 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -71,6 +71,7 @@ ext {
appcompatVersion = '1.0.2'
cardviewVersion = '1.0.0'
databindingVersion = '3.3.1'
+ leakCanaryVersion = "2.0-beta-3"
materialComponentsVersion = '1.0.0'
jsr305Version = '3.0.2'
preferenceVersion = '1.0.0'
@@ -91,6 +92,7 @@ dependencies {
implementation "com.journeyapps:zxing-android-embedded:$zxingEmbeddedVersion"
implementation "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion"
implementation "net.sourceforge.streamsupport:android-retrostreams:$streamsupportVersion"
+ debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
}
tasks.withType(JavaCompile) {