From 80635343aee56a5aa051403b70d41195be977c65 Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 11 Apr 2022 08:56:22 -0400 Subject: [PATCH] Update ACRA --- app/build.gradle.kts | 2 +- app/src/main/java/eu/kanade/tachiyomi/App.kt | 2 +- gradle/androidx.versions.toml | 4 +++- gradle/libs.versions.toml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b5e3e2b7f..9d53d85db 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -155,7 +155,7 @@ dependencies { implementation(androidx.bundles.lifecycle) // Job scheduling - implementation(androidx.work.runtime) + implementation(androidx.bundles.workmanager) // RX implementation(libs.bundles.reactivex) diff --git a/app/src/main/java/eu/kanade/tachiyomi/App.kt b/app/src/main/java/eu/kanade/tachiyomi/App.kt index 907995138..ea0e76bfe 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/App.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/App.kt @@ -170,7 +170,7 @@ open class App : Application(), DefaultLifecycleObserver, ImageLoaderFactory { if (BuildConfig.FLAVOR != "dev") { initAcra { buildConfigClass = BuildConfig::class.java - excludeMatchingSharedPreferencesKeys = arrayOf(".*username.*", ".*password.*", ".*token.*") + excludeMatchingSharedPreferencesKeys = listOf(".*username.*", ".*password.*", ".*token.*") httpSender { uri = BuildConfig.ACRA_URI diff --git a/gradle/androidx.versions.toml b/gradle/androidx.versions.toml index 76d3ed310..b051c785b 100644 --- a/gradle/androidx.versions.toml +++ b/gradle/androidx.versions.toml @@ -19,9 +19,11 @@ lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.r lifecycle-runtimektx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle_version" } work-runtime = "androidx.work:work-runtime-ktx:2.6.0" +guava = "com.google.guava:guava:31.1-android" [bundles] -lifecycle = ["lifecycle-common","lifecycle-process","lifecycle-runtimektx"] +lifecycle = ["lifecycle-common", "lifecycle-process", "lifecycle-runtimektx"] +workmanager = ["work-runtime", "guava"] [plugins] application = { id = "com.android.application", version.ref="agp_version"} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a86d9bf8c..b7353e5d9 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -76,7 +76,7 @@ flowbinding-viewpager = { module = "io.github.reactivecircus.flowbinding:flowbin logcat = "com.squareup.logcat:logcat:0.1" -acra-http = "ch.acra:acra-http:5.8.4" +acra-http = "ch.acra:acra-http:5.9.0" firebase-analytics = "com.google.firebase:firebase-analytics-ktx:20.0.2" aboutlibraries-core = { module = "com.mikepenz:aboutlibraries-core", version.ref = "aboutlib_version" }