diff --git a/android-app/build.gradle.kts b/android-app/build.gradle.kts index ec985010e..554780dd1 100644 --- a/android-app/build.gradle.kts +++ b/android-app/build.gradle.kts @@ -191,6 +191,7 @@ dependencies { androidTestImplementation(libs.androidx.test.ext.junit.ktx) androidTestImplementation(libs.androidx.compose.ui.test.junit4) androidTestImplementation(libs.androidx.benchmark.junit) + debugImplementation(libs.leakcanary) lintChecks(libs.lint.checks) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index edaa2dd7a..da0520515 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -70,6 +70,7 @@ lint-checks = "1.3.1" palantir-git = "3.0.0" flaker = "0.1.2" ktor = "2.3.8" +leakcanary = "3.0-alpha-1" [libraries] kotlin-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlin-coroutines" } @@ -184,6 +185,7 @@ ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "kto ktor-client-android = { module = "io.ktor:ktor-client-android", version.ref = "ktor" } ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" } ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" } +leakcanary = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanary" } gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "gradle" } kotlin-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } diff --git a/readme.md b/readme.md index 31f261b39..5ccd1d99d 100644 --- a/readme.md +++ b/readme.md @@ -122,6 +122,7 @@ TMDB_API_KEY=your_own_tmdb_api_key - [x] [Glance AppWidget](https://d.android.com/jetpack/compose/glance) - [x] [Grammatical Gender](https://d.android.com/about/versions/14/features/grammatical-inflection) - [x] [Biometric Authentication Dialog](https://d.android.com/training/sign-in/biometric-auth) +- [x] [LeakCanary](https://github.com/square/leakcanary) ## Roadmap [Movies App Roadmap](https://github.com/users/michaelbel/projects/1/views/1)