add leak canary to detect memory leaks in debug builds

pull/142/head
Terry Schmidt 2023-02-20 01:34:01 -05:00
rodzic 2eae1ad434
commit 2bd3792b8f
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -136,6 +136,9 @@ dependencies {
implementation 'com.google.mlkit:language-id:17.0.4'
implementation 'com.google.android.gms:play-services-mlkit-language-id:17.0.0'
// Automatic memory leak detection
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'