aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/build.gradle6
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt9
-rw-r--r--buildSrc/src/main/kotlin/Versions.kt12
3 files changed, 6 insertions, 21 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 5a8d7710..d3967ba3 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -283,13 +283,7 @@ dependencies {
//noinspection GradleDependency
kapt kau.Dependencies.glideKapt
- //noinspection GradleDependency
- releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
- //noinspection GradleDependency
- releaseTestImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
- //noinspection GradleDependency
debugImplementation "com.squareup.leakcanary:leakcanary-android:${Versions.leakCanary}"
-// testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
//Icons
implementation kau.Dependencies.iconicsMaterial
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
index 684c54a4..a11006e2 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
@@ -41,20 +41,11 @@ import org.koin.core.context.startKoin
*/
class FrostApp : Application() {
-// companion object {
-// fun refWatcher(c: Context) = (c.applicationContext as FrostApp).refWatcher
-// }
-
-// lateinit var refWatcher: RefWatcher
-
override fun onCreate() {
if (!buildIsLollipopAndUp) { // not supported
super.onCreate()
return
}
-
-// if (LeakCanary.isInAnalyzerProcess(this)) return
-// refWatcher = LeakCanary.install(this)
initPrefs()
initBugsnag()
diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt
index fb7d764e..aaa128b1 100644
--- a/buildSrc/src/main/kotlin/Versions.kt
+++ b/buildSrc/src/main/kotlin/Versions.kt
@@ -3,7 +3,7 @@ object Versions {
const val targetSdk = 29
// https://developer.android.com/jetpack/androidx/releases/biometric
- const val andxBiometric = "1.0.0"
+ const val andxBiometric = "1.0.1"
// https://mvnrepository.com/artifact/org.apache.commons/commons-text
// Updates blocked due to javax.script dependency
@@ -17,12 +17,12 @@ object Versions {
// https://github.com/jhy/jsoup/releases
const val jsoup = "1.12.1"
- // https://github.com/square/leakcanary/releases
- const val leakCanary = "1.6.2"
- // https://github.com/square/okhttp/releases
- const val okhttp = "4.2.2"
+ // https://square.github.io/leakcanary/changelog/
+ const val leakCanary = "2.2"
+ // https://square.github.io/okhttp/changelog/
+ const val okhttp = "4.3.1"
// https://developer.android.com/jetpack/androidx/releases/room
- const val room = "2.2.2"
+ const val room = "2.2.3"
// http://robolectric.org/getting-started/
const val roboelectric = "4.3"
// https://github.com/davemorrissey/subsampling-scale-image-view#quick-start