mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore(deps): Add leakcanary to debug memleaks
This commit is contained in:
parent
e45baf6ab4
commit
fe59d7f4ec
2 changed files with 9 additions and 0 deletions
|
@ -269,6 +269,11 @@ dependencies {
|
||||||
testRuntimeOnly(libs.bundles.test.runtime)
|
testRuntimeOnly(libs.bundles.test.runtime)
|
||||||
androidTestImplementation(libs.bundles.test.android)
|
androidTestImplementation(libs.bundles.test.android)
|
||||||
testImplementation(kotlinx.coroutines.test)
|
testImplementation(kotlinx.coroutines.test)
|
||||||
|
|
||||||
|
// For detecting memory leaks
|
||||||
|
// REF: https://square.github.io/leakcanary/
|
||||||
|
// debugImplementation(libs.leakcanary.android)
|
||||||
|
implementation(libs.leakcanary.plumber)
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
|
|
@ -13,6 +13,7 @@ sqldelight = "2.0.2"
|
||||||
junit = "5.11.3"
|
junit = "5.11.3"
|
||||||
kermit = "2.0.5"
|
kermit = "2.0.5"
|
||||||
koin = "4.0.0"
|
koin = "4.0.0"
|
||||||
|
leakcanary = "2.14"
|
||||||
voyager = "1.1.0-beta02"
|
voyager = "1.1.0-beta02"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
|
@ -50,6 +51,9 @@ koin-injekt = { module = "com.github.null2264:injekt-koin", version = "aad18b614
|
||||||
|
|
||||||
kotest-assertions = { module = "io.kotest:kotest-assertions-core", version = "5.9.1" }
|
kotest-assertions = { module = "io.kotest:kotest-assertions-core", version = "5.9.1" }
|
||||||
|
|
||||||
|
leakcanary-android = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanary" }
|
||||||
|
leakcanary-plumber = { module = "com.squareup.leakcanary:plumber-android", version.ref = "leakcanary" }
|
||||||
|
|
||||||
libarchive = { module = "me.zhanghai.android.libarchive:library", version = "1.1.4" }
|
libarchive = { module = "me.zhanghai.android.libarchive:library", version = "1.1.4" }
|
||||||
|
|
||||||
material = { module = "com.google.android.material:material", version = "1.12.0" }
|
material = { module = "com.google.android.material:material", version = "1.12.0" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue