aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-02-08 11:59:43 -0800
committerAllan Wang <me@allanwang.ca>2020-02-08 11:59:43 -0800
commit9be02fb408ebcb5cea8c06bf0c9d0658f4a3237f (patch)
tree3e746e7a4ee385cd9f2b3519752117ea51f254e9
parenta785dcebc19b3faa978d04f392df324621ea4502 (diff)
downloadfrost-9be02fb408ebcb5cea8c06bf0c9d0658f4a3237f.tar.gz
frost-9be02fb408ebcb5cea8c06bf0c9d0658f4a3237f.tar.bz2
frost-9be02fb408ebcb5cea8c06bf0c9d0658f4a3237f.zip
Update versions
-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