diff options
-rw-r--r-- | buildSrc/src/main/kotlin/kau/Dependencies.kt | 2 | ||||
-rw-r--r-- | buildSrc/src/main/kotlin/kau/Versions.kt | 3 | ||||
-rw-r--r-- | docs/Migration.md | 5 |
3 files changed, 10 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" diff --git a/docs/Migration.md b/docs/Migration.md index 0941667..7d50456 100644 --- a/docs/Migration.md +++ b/docs/Migration.md @@ -18,6 +18,11 @@ meaning that in memory preferences will reset to default. Previously, in memory `configBuilder` was previously required in the constructor, but is now an open function so that activity fields can be used in the builder. +## Gradle + +* Due to Spotless updates, gradle should not include the `clean` task ([#521](https://github.com/diffplug/spotless/issues/521)). +* `buildToolsVersion` is already included in Android Studio, so you no longer need to specify the link with KAU. + # v5.1.0 ## KPref |