From 523f2afc5389ab0bf69792d6f823a32e86f92512 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 31 May 2020 13:12:15 +0530 Subject: 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 Co-authored-by: Fabian Henneke --- app/build.gradle | 5 +++-- app/src/main/java/com/zeapo/pwdstore/Application.kt | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'app') 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() -- cgit v1.2.3