update deps

Signed-off-by: androidacy-user <opensource@androidacy.com>
pull/89/head
androidacy-user 2 years ago
parent c970195c23
commit b51678a552

@ -450,14 +450,14 @@ dependencies {
implementation("com.github.KieronQuinn:MonetCompat:0.4.1") implementation("com.github.KieronQuinn:MonetCompat:0.4.1")
implementation("com.github.Fox2Code.FoxCompat:foxcompat:1.2.14") implementation("com.github.Fox2Code.FoxCompat:foxcompat:1.2.14")
implementation("com.github.Fox2Code.FoxCompat:hiddenapis:1.2.14") implementation("com.github.Fox2Code.FoxCompat:hiddenapis:1.2.14")
implementation("com.mikepenz:aboutlibraries:10.7.0") implementation("com.mikepenz:aboutlibraries:10.8.0")
// Utils // Utils
implementation("androidx.work:work-runtime:2.8.1") implementation("androidx.work:work-runtime:2.8.1")
implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.10") implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.11")
implementation("com.squareup.okhttp3:okhttp-dnsoverhttps:5.0.0-alpha.10") implementation("com.squareup.okhttp3:okhttp-dnsoverhttps:5.0.0-alpha.11")
// logging interceptor // logging interceptor
implementation("com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.10") implementation("com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.11")
// Chromium cronet from androidacy // Chromium cronet from androidacy
implementation("org.chromium.net:cronet-embedded:113.5672.61") implementation("org.chromium.net:cronet-embedded:113.5672.61")
@ -482,12 +482,12 @@ dependencies {
implementation("com.github.Fox2Code:AndroidANSI:1.2.1") implementation("com.github.Fox2Code:AndroidANSI:1.2.1")
// sentry // sentry
implementation("io.sentry:sentry-android:6.23.0") implementation("io.sentry:sentry-android:6.24.0")
implementation("io.sentry:sentry-android-timber:6.23.0") implementation("io.sentry:sentry-android-timber:6.24.0")
implementation("io.sentry:sentry-android-fragment:6.23.0") implementation("io.sentry:sentry-android-fragment:6.24.0")
implementation("io.sentry:sentry-android-okhttp:6.23.0") implementation("io.sentry:sentry-android-okhttp:6.24.0")
implementation("io.sentry:sentry-kotlin-extensions:6.23.0") implementation("io.sentry:sentry-kotlin-extensions:6.24.0")
implementation("io.sentry:sentry-android-ndk:6.23.0") implementation("io.sentry:sentry-android-ndk:6.24.0")
// Markdown // Markdown
// TODO: switch to an updated implementation // TODO: switch to an updated implementation
@ -530,13 +530,13 @@ dependencies {
implementation("com.github.fingerprintjs:fingerprint-android:2.0.0") implementation("com.github.fingerprintjs:fingerprint-android:2.0.0")
// room // room
implementation("androidx.room:room-runtime:2.5.1") implementation("androidx.room:room-runtime:2.5.2")
// To use Kotlin Symbol Processing (KSP) // To use Kotlin Symbol Processing (KSP)
ksp("androidx.room:room-compiler:2.5.1") ksp("androidx.room:room-compiler:2.5.2")
// optional - Kotlin Extensions and Coroutines support for Room // optional - Kotlin Extensions and Coroutines support for Room
implementation("androidx.room:room-ktx:2.5.1") implementation("androidx.room:room-ktx:2.5.2")
} }
android { android {

@ -61,6 +61,7 @@ class ModuleManager private constructor() : SyncManager() {
if (BuildConfig.DEBUG) Timber.d("Scan") if (BuildConfig.DEBUG) Timber.d("Scan")
val modulesList = StringBuilder() val modulesList = StringBuilder()
if (modules != null) { if (modules != null) {
Timber.i("Found %d modules on device in data", modules.size)
val db = Room.databaseBuilder( val db = Room.databaseBuilder(
MainApplication.INSTANCE!!, MainApplication.INSTANCE!!,
ModuleListCacheDatabase::class.java, ModuleListCacheDatabase::class.java,
@ -136,6 +137,8 @@ class ModuleManager private constructor() : SyncManager() {
.append(",") .append(",")
} }
db.close() db.close()
} else {
Timber.i("No modules on device in data")
} }
if (modulesList.isNotEmpty()) { if (modulesList.isNotEmpty()) {
modulesList.deleteCharAt(modulesList.length - 1) modulesList.deleteCharAt(modulesList.length - 1)

@ -10,7 +10,7 @@
# This option should only be used with decoupled projects. More details, visit # This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true # org.gradle.parallel=true
#Mon Jun 19 16:29:35 EDT 2023 #Mon Jun 26 15:44:05 EDT 2023
android.defaults.buildfeatures.buildconfig=true android.defaults.buildfeatures.buildconfig=true
android.enableJetifier=false android.enableJetifier=false
android.enableR8.fullMode=true android.enableR8.fullMode=true
@ -18,5 +18,5 @@ android.useAndroidX=true
org.gradle.caching=true org.gradle.caching=true
org.gradle.configuration-cache=true org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn org.gradle.configuration-cache.problems=warn
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M" -Dfile.encoding\=UTF-8 -XX\:+UseParallelGC -XX\:ReservedCodeCacheSize\=768m org.gradle.jvmargs=-Xmx1536M -Dkotlin.daemon.jvm.options\="-Xmx1536M" -Dfile.encoding\=UTF-8 -XX\:+UseParallelGC -XX\:ReservedCodeCacheSize\=768m
org.gradle.parallel=true org.gradle.parallel=true

Loading…
Cancel
Save