Jelajahi Sumber

Update ACRA

arkon 2 tahun lalu
induk
melakukan
80635343ae

+ 1 - 1
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)

+ 1 - 1
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

+ 3 - 1
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"}

+ 1 - 1
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" }