aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-05-31 13:12:15 +0530
committerGitHub <noreply@github.com>2020-05-31 13:12:15 +0530
commit523f2afc5389ab0bf69792d6f823a32e86f92512 (patch)
tree672a873d8e75e310839f255c2b3a39d3f070eff6 /app
parent81c4960dd68d8e127aa3e7d5e0acd932fef9765e (diff)
build: Upgrade all dependencies (#803)
* build: upgrade all dependencies We've accumulated a fat backlog here that's gonna need some heavy testing * build: adjust for WhatTheStack upgrade This is now automatically initialized * build: downgrade security-crypto * build: upgrade to Gradle 6.4 * idea: sync from AS 4.1.x * build: bump AGP to 4.0.0 * build: disable Jetifier Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle5
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/Application.kt2
2 files changed, 3 insertions, 4 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 2e203705..7be17e71 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -22,7 +22,7 @@ android {
}
}
- viewBinding.enabled = true
+ buildFeatures.viewBinding = true
defaultConfig {
applicationId 'dev.msfjarvis.aps'
@@ -107,12 +107,13 @@ dependencies {
implementation deps.third_party.ssh_auth
implementation deps.third_party.timber
implementation deps.third_party.timberkt
- implementation deps.third_party.whatthestack
if (isSnapshot()) {
implementation deps.third_party.leakcanary
+ implementation deps.third_party.whatthestack
} else {
debugImplementation deps.third_party.leakcanary
+ debugImplementation deps.third_party.whatthestack
}
// Testing-only dependencies
diff --git a/app/src/main/java/com/zeapo/pwdstore/Application.kt b/app/src/main/java/com/zeapo/pwdstore/Application.kt
index ec115639..b0c4eec0 100644
--- a/app/src/main/java/com/zeapo/pwdstore/Application.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/Application.kt
@@ -13,7 +13,6 @@ import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES
import androidx.preference.PreferenceManager
import com.github.ajalt.timberkt.Timber.DebugTree
import com.github.ajalt.timberkt.Timber.plant
-import com.haroldadmin.whatthestack.WhatTheStack
import org.bouncycastle.jce.provider.BouncyCastleProvider
import java.security.Security
@@ -27,7 +26,6 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere
prefs = PreferenceManager.getDefaultSharedPreferences(this)
if (BuildConfig.ENABLE_DEBUG_FEATURES || prefs?.getBoolean("enable_debug_logging", false) == true) {
plant(DebugTree())
- WhatTheStack(this).init()
}
prefs?.registerOnSharedPreferenceChangeListener(this)
setNightMode()