diff options
author | Allan Wang <me@allanwang.ca> | 2020-02-29 18:19:47 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-02-29 18:19:47 -0800 |
commit | 4f34109fe93ba4654be19bbe37fcd30c76a0b9c7 (patch) | |
tree | 923244d33bbf3d5d294eb776cac4200707d4ef47 /buildSrc/src | |
parent | eb4c4ae2aa084179881dac92bb3469f326545e04 (diff) | |
download | kau-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.kt | 2 | ||||
-rw-r--r-- | buildSrc/src/main/kotlin/kau/Versions.kt | 3 |
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" |