From 31a350eea70ede920002e310c2506a14e5648da4 Mon Sep 17 00:00:00 2001 From: Maxime NATUREL Date: Wed, 27 Jul 2022 16:36:16 +0200 Subject: [PATCH] Enabling leakcanary on debug builds --- dependencies_groups.gradle | 2 ++ vector/build.gradle | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dependencies_groups.gradle b/dependencies_groups.gradle index f60a77a92d..1c0135ae0f 100644 --- a/dependencies_groups.gradle +++ b/dependencies_groups.gradle @@ -106,7 +106,9 @@ ext.groups = [ 'com.pinterest.ktlint', 'com.posthog.android', 'com.squareup', + 'com.squareup.curtains', 'com.squareup.duktape', + 'com.squareup.leakcanary', 'com.squareup.moshi', 'com.squareup.okhttp3', 'com.squareup.okio', diff --git a/vector/build.gradle b/vector/build.gradle index 1244a84bfd..ee08ad7ae5 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -573,7 +573,7 @@ dependencies { debugImplementation "com.kgurgul.flipper:flipper-realm-android:2.2.0" // Activate when you want to check for leaks, from time to time. - //debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.3' + debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1' androidTestImplementation libs.androidx.testCore androidTestImplementation libs.androidx.testRunner