aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-02-29 18:19:47 -0800
committerAllan Wang <me@allanwang.ca>2020-02-29 18:19:47 -0800
commit4f34109fe93ba4654be19bbe37fcd30c76a0b9c7 (patch)
tree923244d33bbf3d5d294eb776cac4200707d4ef47 /buildSrc/src
parenteb4c4ae2aa084179881dac92bb3469f326545e04 (diff)
downloadkau-4f34109fe93ba4654be19bbe37fcd30c76a0b9c7.tar.gz
kau-4f34109fe93ba4654be19bbe37fcd30c76a0b9c7.tar.bz2
kau-4f34109fe93ba4654be19bbe37fcd30c76a0b9c7.zip
Add leak canary
Diffstat (limited to 'buildSrc/src')
-rw-r--r--buildSrc/src/main/kotlin/kau/Dependencies.kt2
-rw-r--r--buildSrc/src/main/kotlin/kau/Versions.kt3
2 files changed, 5 insertions, 0 deletions
diff --git a/buildSrc/src/main/kotlin/kau/Dependencies.kt b/buildSrc/src/main/kotlin/kau/Dependencies.kt
index b543dc3..d7a3757 100644
--- a/buildSrc/src/main/kotlin/kau/Dependencies.kt
+++ b/buildSrc/src/main/kotlin/kau/Dependencies.kt
@@ -101,6 +101,8 @@ object Dependencies {
const val bugsnag = "com.bugsnag:bugsnag-android:${Versions.bugsnag}"
+ const val leakCanary = "com.squareup.leakcanary:leakcanary-android:${Versions.leakCanary}"
+
@JvmStatic
fun espresso(type: String) = "androidx.test.espresso:espresso-$type:${Versions.espresso}"
diff --git a/buildSrc/src/main/kotlin/kau/Versions.kt b/buildSrc/src/main/kotlin/kau/Versions.kt
index 8a94a83..3ff23cb 100644
--- a/buildSrc/src/main/kotlin/kau/Versions.kt
+++ b/buildSrc/src/main/kotlin/kau/Versions.kt
@@ -56,6 +56,9 @@ object Versions {
// https://github.com/InsertKoinIO/koin/blob/master/CHANGELOG.md
const val koin = "2.1.0"
+ // https://square.github.io/leakcanary/changelog/
+ const val leakCanary = "2.2"
+
// https://mvnrepository.com/artifact/androidx.test.espresso/espresso-core?repo=google
const val espresso = "3.2.0"