diff --git a/app/build.gradle.kts b/app/build.gradle.kts index bd648e135..45c16ec2d 100755 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -184,4 +184,6 @@ dependencies { implementation(libs.ktor.client.encoding) implementation(libs.taglib) + + debugImplementation(libs.leakcanary) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 83913f975..92ffab901 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -14,6 +14,7 @@ ksp = "2.1.20-Beta2-1.0.29" multidex = "2.0.1" newpipe = "dev-SNAPSHOT" taglib = "1.0.0-alpha25" +leakcanary = "2.14" [libraries] annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" } @@ -83,6 +84,8 @@ multidex = { group = "androidx.multidex", name = "multidex", version.ref = "mult newpipe-extractor = { group = "com.github.TeamNewPipe", name = "NewPipeExtractor", version.ref = "newpipe" } +leakcanary = { group = "com.squareup.leakcanary", name = "leakcanary-android", version.ref = "leakcanary" } + [plugins] kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }