From bb18218c0a59246de8da215194663ed0e03b2f01 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 18 Dec 2017 12:21:41 +0100 Subject: [PATCH] adding Leak Canary --- app/build.gradle | 7 +++++++ app/src/main/AndroidManifest.xml | 1 + app/src/main/kotlin/com/simplemobiletools/contacts/App.kt | 8 ++++++++ .../simplemobiletools/contacts/helpers/ContactsHelper.kt | 1 + 4 files changed, 17 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 768a4235..c7d682ee 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,6 +31,13 @@ android { } } +ext { + leakCanaryVersion = '1.5.4' +} + dependencies { implementation 'com.simplemobiletools:commons:3.2.19' + + debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion" + releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion" } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7420855b..05d786e1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -8,6 +8,7 @@ +