diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2019-09-27 13:09:23 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2019-09-27 13:18:27 +0530 |
commit | 421b1f889bc0901ddeeba6ab915e4a1fd6201ad5 (patch) | |
tree | 0a39ac3baa34b4ffc0d57035bd78d904dc2123f1 | |
parent | 1ee1368e18f5264704cbe58ad36408394c867ab9 (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 <me@msfjarvis.dev>
-rw-r--r-- | app/build.gradle | 2 |
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) { |