Add LeakCanary to session demo app debug builds

This helps to detect accidental service/activity leaks.

PiperOrigin-RevId: 529391523
This commit is contained in:
tonihei 2023-05-04 13:29:08 +00:00 committed by Tofunmi Adigun-Hameed
parent 0f398d511d
commit 804b57ea7b

View File

@ -57,6 +57,8 @@ android {
}
dependencies {
// For detecting and debugging leaks only. LeakCanary is not needed for demo app to work.
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
implementation 'androidx.core:core-ktx:' + androidxCoreVersion
implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion
implementation 'androidx.multidex:multidex:' + androidxMultidexVersion