From a0ddc0e5adfdfaf7df887c7321b877dcd4d9e453 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Tue, 7 Oct 2025 11:19:21 -0300 Subject: [PATCH] Update dependencies minSdk for db lib needed a bump, because room bumped its minSdk documentfile and localbroadcastmanager dependencies needed to be added explicitly now --- app/build.gradle | 8 +- gradle/libs.versions.toml | 40 +- gradle/verification-metadata.xml | 950 +++++++++++++++++++++++++++++++ libs/database/build.gradle | 2 +- 4 files changed, 978 insertions(+), 22 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 233d2d79e..415b0444b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -57,7 +57,7 @@ android { buildTypes { // use proguard on debug too since we have unknowingly broken // release builds before. - all { + configureEach { manifestPlaceholders = [applicationLabel: APP_NAME] minifyEnabled true shrinkResources true @@ -91,7 +91,7 @@ android { applicationIdSuffix ".basic" } } - applicationVariants.all { variant -> + applicationVariants.configureEach { variant -> variant.resValue "string", "applicationId", variant.applicationId } @@ -182,6 +182,8 @@ dependencies { implementation libs.androidx.constraintlayout implementation libs.androidx.swiperefreshlayout implementation libs.androidx.lifecycle.livedata.ktx + implementation libs.androidx.documentfile + implementation libs.androidx.localbroadcastmanager implementation libs.androidx.work.runtime implementation libs.guava // somehow needed for work-runtime to function @@ -204,7 +206,7 @@ dependencies { implementation libs.rxandroid implementation libs.glide - implementation(libs.glide.compose) + implementation libs.glide.compose annotationProcessor libs.glide.compiler implementation libs.okhttp diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 59f7efc98..6625ab512 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,58 +5,60 @@ androidGradlePlugin = "8.11.1" # 8.12.0 pulls in aapt2 which has issue on builds androidKspPlugin = "2.2.0-2.0.2" # first version needs to match kotlin version dokka = "2.0.0" mavenPublish = "0.18.0" -jlleitschuhKtlint = "13.0.0" +jlleitschuhKtlint = "13.1.0" kotlinxSerializationJson = "1.9.0" # 1.4.1 because https://github.com/Kotlin/kotlinx.serialization/issues/2231 kotlinxCoroutinesTest = "1.10.2" -ktor = "3.2.3" +ktor = "3.3.0" okhttp = "4.12.0" -room = "2.7.2" -glide = "4.16.0" -glideCompose = "1.0.0-beta01" +room = "2.8.1" +glide = "5.0.5" +glideCompose = "1.0.0-beta08" -androidxCoreKtx = "1.16.0" +androidxCoreKtx = "1.17.0" androidxAppcompat = "1.7.1" androidxPreferenceKtx = "1.2.1" -androidxLifecycleLivedataKtx = "2.9.2" -androidxWork = "2.10.3" +androidxLifecycleLivedataKtx = "2.9.4" +androidxWork = "2.10.5" +androidxDocumentfile = "1.1.0" +androidxLocalbroadcastmanager = "1.1.0" androidxRecyclerview = "1.4.0" androidxConstraintlayout = "2.2.1" androidxSwipeRefreshLayout = "1.1.0" androidxVectordrawable = "1.2.0" androidxGridlayout = "1.1.0" -androidxComposeBom = "2025.07.00" -androidxActivityCompose = "1.10.1" +androidxComposeBom = "2025.09.01" +androidxActivityCompose = "1.11.0" accompanistDrawablepainter = "0.37.3" -material = "1.12.0" +material = "1.13.0" #noinspection GradleDependency newer version need minSdk 24 or library desugering zxingCore = "3.3.3" guardianprojectNetcipher = "2.2.0-alpha" guardianprojectPanic = "1.0" -acra = "5.12.0" +acra = "5.13.1" adapterdelegates4 = "4.3.2" #noinspection GradleDependency Commons IO > 2.5 uses java.nio.file, which requires desugaring commonsIo = "2.6" commonsNet = "3.6" -bouncycastle = "1.81" +bouncycastle = "1.82" #noinspection NewerVersionAvailable upgrade to 3.6.1 failed BonjourManagerTest jmdns = "3.5.5" nanohttpd = "2.3.1" -guava = "33.4.8-android" +guava = "33.5.0-android" -rxjava = "3.1.11" +rxjava = "3.1.12" rxandroid = "3.0.2" slf4jApi = "2.0.17" microutilsKotlinLogging = "3.0.5" -logbackClassic = "1.5.18" +logbackClassic = "1.5.19" logbackAndroid = "3.0.0" junit = "4.13.2" -mockk = "1.14.5" -robolectric = "4.15.1" +mockk = "1.14.6" +robolectric = "4.16" androidxTestCore = "1.6.1" androidxTestRunner = "1.6.2" androidxTestExtJunit = "1.2.1" @@ -87,6 +89,8 @@ androidx-preference-ktx = { module = "androidx.preference:preference-ktx", versi androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidxAppcompat" } androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "androidxRecyclerview" } androidx-vectordrawable = { module = "androidx.vectordrawable:vectordrawable", version.ref = "androidxVectordrawable" } +androidx-documentfile = { module = "androidx.documentfile:documentfile", version.ref = "androidxDocumentfile" } +androidx-localbroadcastmanager = { module = "androidx.localbroadcastmanager:localbroadcastmanager", version.ref = "androidxLocalbroadcastmanager" } androidx-work-runtime = { module = "androidx.work:work-runtime", version.ref = "androidxWork" } androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" } androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" } diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index ebe2f26a3..255cf9d46 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -196,6 +196,11 @@ + + + + + @@ -236,6 +241,11 @@ + + + + + @@ -261,6 +271,11 @@ + + + + + @@ -379,6 +394,11 @@ + + + + + @@ -686,6 +706,11 @@ + + + + + @@ -721,6 +746,11 @@ + + + + + @@ -766,6 +796,11 @@ + + + + + @@ -801,6 +836,11 @@ + + + + + @@ -861,6 +901,11 @@ + + + + + @@ -896,6 +941,11 @@ + + + + + @@ -941,6 +991,11 @@ + + + + + @@ -976,6 +1031,11 @@ + + + + + @@ -1041,6 +1101,11 @@ + + + + + @@ -1201,6 +1266,11 @@ + + + + + @@ -1236,6 +1306,11 @@ + + + + + @@ -1251,6 +1326,11 @@ + + + + + @@ -1261,6 +1341,11 @@ + + + + + @@ -1301,6 +1386,11 @@ + + + + + @@ -1336,6 +1426,21 @@ + + + + + + + + + + + + + + + @@ -1376,6 +1481,11 @@ + + + + + @@ -1411,6 +1521,11 @@ + + + + + @@ -1456,6 +1571,11 @@ + + + + + @@ -1491,6 +1611,11 @@ + + + + + @@ -1536,6 +1661,11 @@ + + + + + @@ -1571,6 +1701,11 @@ + + + + + @@ -1616,6 +1751,11 @@ + + + + + @@ -1651,6 +1791,11 @@ + + + + + @@ -1696,6 +1841,11 @@ + + + + + @@ -1731,6 +1881,11 @@ + + + + + @@ -1771,6 +1926,11 @@ + + + + + @@ -1811,6 +1971,11 @@ + + + + + @@ -1856,6 +2021,11 @@ + + + + + @@ -1891,6 +2061,11 @@ + + + + + @@ -1936,6 +2111,11 @@ + + + + + @@ -1971,6 +2151,11 @@ + + + + + @@ -2006,6 +2191,11 @@ + + + + + @@ -2041,6 +2231,11 @@ + + + + + @@ -2158,6 +2353,11 @@ + + + + + @@ -2218,6 +2418,11 @@ + + + + + @@ -2393,6 +2598,11 @@ + + + + + @@ -2411,6 +2621,11 @@ + + + + + @@ -2509,6 +2724,16 @@ + + + + + + + + + + @@ -2635,6 +2860,11 @@ + + + + + @@ -2665,6 +2895,11 @@ + + + + + @@ -2685,6 +2920,11 @@ + + + + + @@ -2748,6 +2988,11 @@ + + + + + @@ -2816,6 +3061,11 @@ + + + + + @@ -2871,6 +3121,11 @@ + + + + + @@ -2921,6 +3176,11 @@ + + + + + @@ -2966,6 +3226,11 @@ + + + + + @@ -3032,6 +3297,11 @@ + + + + + @@ -3052,6 +3322,11 @@ + + + + + @@ -3062,6 +3337,11 @@ + + + + + @@ -3082,6 +3362,11 @@ + + + + + @@ -3127,6 +3412,11 @@ + + + + + @@ -3147,6 +3437,11 @@ + + + + + @@ -3187,6 +3482,11 @@ + + + + + @@ -3252,6 +3552,14 @@ + + + + + + + + @@ -3272,6 +3580,11 @@ + + + + + @@ -3307,6 +3620,11 @@ + + + + + @@ -3327,6 +3645,11 @@ + + + + + @@ -3372,6 +3695,11 @@ + + + + + @@ -3425,6 +3753,11 @@ + + + + + @@ -3435,6 +3768,11 @@ + + + + + @@ -3451,6 +3789,11 @@ + + + + + @@ -3608,6 +3951,11 @@ + + + + + @@ -3618,6 +3966,11 @@ + + + + + @@ -3653,6 +4006,11 @@ + + + + + @@ -3688,6 +4046,11 @@ + + + + + @@ -3698,6 +4061,11 @@ + + + + + @@ -3733,6 +4101,11 @@ + + + + + @@ -3770,6 +4143,11 @@ + + + + + @@ -3780,6 +4158,11 @@ + + + + + @@ -3832,6 +4215,11 @@ + + + + + @@ -3842,6 +4230,11 @@ + + + + + @@ -3862,6 +4255,11 @@ + + + + + @@ -3872,6 +4270,11 @@ + + + + + @@ -3905,6 +4308,11 @@ + + + + + @@ -3915,6 +4323,21 @@ + + + + + + + + + + + + + + + @@ -3940,6 +4363,11 @@ + + + + + @@ -3988,6 +4416,11 @@ + + + + + @@ -3998,6 +4431,11 @@ + + + + + @@ -4033,6 +4471,11 @@ + + + + + @@ -4043,6 +4486,11 @@ + + + + + @@ -4053,6 +4501,11 @@ + + + + + @@ -4157,6 +4610,11 @@ + + + + + @@ -4279,6 +4737,11 @@ + + + + + @@ -4458,6 +4921,11 @@ + + + + + @@ -4513,6 +4981,11 @@ + + + + + @@ -4598,6 +5071,11 @@ + + + + + @@ -4618,6 +5096,11 @@ + + + + + @@ -4638,6 +5121,11 @@ + + + + + @@ -4678,6 +5166,11 @@ + + + + + @@ -4718,6 +5211,11 @@ + + + + + @@ -8005,6 +8503,11 @@ + + + + + @@ -8020,6 +8523,11 @@ + + + + + @@ -8035,6 +8543,11 @@ + + + + + @@ -8060,6 +8573,11 @@ + + + + + @@ -8085,6 +8603,11 @@ + + + + + @@ -8110,6 +8633,11 @@ + + + + + @@ -8125,6 +8653,11 @@ + + + + + @@ -8140,6 +8673,11 @@ + + + + + @@ -8262,6 +8800,11 @@ + + + + + @@ -8682,6 +9225,11 @@ + + + + + @@ -8743,6 +9291,7 @@ + @@ -8771,6 +9320,11 @@ + + + + + @@ -8877,6 +9431,11 @@ + + + + + @@ -8952,6 +9511,14 @@ + + + + + + + + @@ -9021,6 +9588,11 @@ + + + + + @@ -9627,6 +10199,11 @@ + + + + + @@ -9676,11 +10253,21 @@ + + + + + + + + + + @@ -9716,6 +10303,11 @@ + + + + + @@ -9761,6 +10353,11 @@ + + + + + @@ -10385,6 +10982,11 @@ + + + + + @@ -10473,6 +11075,11 @@ + + + + + @@ -10534,6 +11141,11 @@ + + + + + @@ -10605,6 +11217,11 @@ + + + + + @@ -10684,6 +11301,11 @@ + + + + + @@ -10735,6 +11357,11 @@ + + + + + @@ -10812,6 +11439,11 @@ + + + + + @@ -10864,6 +11496,11 @@ + + + + + @@ -10926,6 +11563,11 @@ + + + + + @@ -10977,6 +11619,11 @@ + + + + + @@ -11060,6 +11707,11 @@ + + + + + @@ -11127,6 +11779,11 @@ + + + + + @@ -11152,6 +11809,11 @@ + + + + + @@ -11234,6 +11896,11 @@ + + + + + @@ -11332,6 +11999,11 @@ + + + + + @@ -11398,6 +12070,11 @@ + + + + + @@ -11486,6 +12163,11 @@ + + + + + @@ -11511,6 +12193,11 @@ + + + + + @@ -11572,6 +12259,11 @@ + + + + + @@ -11644,6 +12336,11 @@ + + + + + @@ -11695,6 +12392,11 @@ + + + + + @@ -11710,6 +12412,11 @@ + + + + + @@ -11720,6 +12427,11 @@ + + + + + @@ -11798,6 +12510,11 @@ + + + + + @@ -11859,6 +12576,11 @@ + + + + + @@ -11942,6 +12664,11 @@ + + + + + @@ -11993,6 +12720,11 @@ + + + + + @@ -12060,6 +12792,11 @@ + + + + + @@ -12111,6 +12848,11 @@ + + + + + @@ -12146,6 +12888,11 @@ + + + + + @@ -12166,6 +12913,11 @@ + + + + + @@ -12186,6 +12938,11 @@ + + + + + @@ -12216,6 +12973,11 @@ + + + + + @@ -12236,6 +12998,11 @@ + + + + + @@ -12271,6 +13038,11 @@ + + + + + @@ -12296,6 +13068,11 @@ + + + + + @@ -12326,6 +13103,11 @@ + + + + + @@ -12346,6 +13128,11 @@ + + + + + @@ -12376,6 +13163,11 @@ + + + + + @@ -12406,6 +13198,11 @@ + + + + + @@ -12426,6 +13223,11 @@ + + + + + @@ -12755,6 +13557,11 @@ + + + + + @@ -13607,6 +14414,11 @@ + + + + + @@ -13653,6 +14465,11 @@ + + + + + @@ -13683,6 +14500,11 @@ + + + + + @@ -13693,6 +14515,11 @@ + + + + + @@ -13952,6 +14779,11 @@ + + + + + @@ -15735,6 +16567,11 @@ + + + + + @@ -16312,6 +17149,14 @@ + + + + + + + + @@ -17086,6 +17931,11 @@ + + + + + @@ -17487,21 +18337,41 @@ + + + + + + + + + + + + + + + + + + + + @@ -17673,6 +18543,11 @@ + + + + + @@ -17748,6 +18623,11 @@ + + + + + @@ -17786,6 +18666,11 @@ + + + + + @@ -18321,6 +19206,11 @@ + + + + + @@ -18369,6 +19259,11 @@ + + + + + @@ -18417,6 +19312,11 @@ + + + + + @@ -18447,6 +19347,11 @@ + + + + + @@ -18477,6 +19382,11 @@ + + + + + @@ -18525,6 +19435,11 @@ + + + + + @@ -18573,6 +19488,11 @@ + + + + + @@ -18621,6 +19541,11 @@ + + + + + @@ -18669,6 +19594,11 @@ + + + + + @@ -18717,6 +19647,11 @@ + + + + + @@ -18765,6 +19700,11 @@ + + + + + @@ -18823,6 +19763,11 @@ + + + + + @@ -18871,6 +19816,11 @@ + + + + + diff --git a/libs/database/build.gradle b/libs/database/build.gradle index 2e2b3eb44..d5ea66b7a 100644 --- a/libs/database/build.gradle +++ b/libs/database/build.gradle @@ -11,7 +11,7 @@ android { compileSdk libs.versions.compileSdk.get().toInteger() defaultConfig { - minSdkVersion 21 + minSdkVersion 23 targetSdk 34 // relevant for instrumentation tests (targetSdk 21 fails on Android 14) consumerProguardFiles "consumer-rules.pro"