Merge pull request #142 from terryschmidt/leak_canary

add leak canary to detect memory leaks in debug builds
This commit is contained in:
Vitor Pamplona
2023-02-20 15:19:20 -05:00
committed by GitHub

View File

@@ -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'