@@ -67,6 +67,10 @@ configurations.configureEach {
6767 useVersion(checkerVersion)
6868 because(" https://github.com/google/ExoPlayer/issues/10007" )
6969 }
70+
71+ if (requested. group == " commons-logging" && requested. name == " commons-logging" ) {
72+ useTarget(" org.slf4j:jcl-over-slf4j:1.7.4" )
73+ }
7074 }
7175}
7276
@@ -341,31 +345,31 @@ dependencies {
341345 androidTestImplementation libs. core. ktx
342346 androidTestImplementation libs. core. testing
343347
344- compileOnly " org.jbundle.util.osgi.wrapped: org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2 "
348+ compileOnly libs . org. jbundle. util. osgi. wrapped. org. apache. http. client
345349 // remove after entire switch to lib v2
346- implementation " commons- httpclient: commons-httpclient:3.1@jar " // remove after entire switch to lib v2
347- implementation " org.apache. jackrabbit:jackrabbit-webdav:2.13.5 " // remove after entire switch to lib v2
348- implementation " androidx .constraintlayout:constraintlayout:2.2.1 "
349- implementation " androidx .legacy:legacy- support-v4:1.0.0 "
350- implementation " com.google.android. material:material:1.12.0 "
351- implementation " com.jakewharton: disklrucache:2.0.2 "
352- implementation " com.github.albfernandez: juniversalchardet:2.5.0 " // need this version for Android <7
353- compileOnly " com.google.code.findbugs: annotations:3.0.1u2 "
354- implementation " commons-io:commons-io:2.20.0 "
355- implementation " org.greenrobot: eventbus:3.3.1 "
356- implementation " com.googlecode.ez-vcard:ez-vcard:0.12.1 "
357- implementation " org.lukhnos: nnio:0.3.1 "
358- implementation " org.bouncycastle: bcpkix-jdk18on:1.81 "
359- implementation " com.google.code. gson:gson:2.13.1 "
360- implementation " com.github.nextcloud-deps: sectioned-recyclerview:0.6.1 "
361- implementation " com.github.Baseflow:PhotoView:2.3.0 "
362- implementation " pl.droidsonroids .gif:android-gif-drawable:1.2.29 "
363- implementation " com.github.nextcloud-deps: qrcodescanner:0.1.2.4 " // "com.github.blikoon:QRCodeScanner:0.1.2"
364- implementation " com.google.android. flexbox:flexbox:3.0.0 "
365-
366- implementation " com.caverock: androidsvg:1.4 "
367- implementation " androidx .annotation:annotation:1.9.1 "
368- implementation " com.vanniktech: emoji-google:0.21.0 "
350+ implementation libs . commons. httpclient. commons. httpclient // remove after entire switch to lib v2
351+ implementation libs . jackrabbit. webdav // remove after entire switch to lib v2
352+ implementation libs . constraintlayout
353+ implementation libs . legacy. support. v4
354+ implementation libs . material
355+ implementation libs . disklrucache
356+ implementation libs . juniversalchardet // need this version for Android <7
357+ compileOnly libs . annotations
358+ implementation libs . commons. io
359+ implementation libs . eventbus
360+ implementation libs . ez . vcard
361+ implementation libs . nnio
362+ implementation libs . bcpkix. jdk18on
363+ implementation libs . gson
364+ implementation libs . sectioned. recyclerview
365+ implementation libs . photoview
366+ implementation libs . android . gif. drawable
367+ implementation libs . qrcodescanner // "com.github.blikoon:QRCodeScanner:0.1.2"
368+ implementation libs . flexbox
369+
370+ implementation libs . androidsvg
371+ implementation libs . annotation
372+ implementation libs . emoji. google
369373
370374 // document scanner not available on FDroid (generic) due to OpenCV binaries
371375 gplayImplementation project(" :appscan" )
@@ -375,36 +379,37 @@ dependencies {
375379 spotbugsPlugins " com.h3xstream.findsecbugs:findsecbugs-plugin:1.14.0"
376380 spotbugsPlugins " com.mebigfatguy.fb-contrib:fb-contrib:7.6.12"
377381
378- implementation " com.google.dagger:dagger:$daggerVersion "
379- implementation " com.google.dagger:dagger-android:$daggerVersion "
380- implementation " com.google.dagger:dagger-android-support:$daggerVersion "
382+ // dagger
383+ implementation libs. dagger
384+ implementation libs. dagger. android
385+ implementation libs. dagger. android. support
381386 kapt " com.google.dagger:dagger-compiler:$daggerVersion "
382387 kapt " com.google.dagger:dagger-android-processor:$daggerVersion "
383388
384- implementation " org .conscrypt:conscrypt-android:2.5.3 "
389+ implementation libs . conscrypt. android
385390
386- implementation " me.zhanghai.android.fastscroll: library:1.3.0 "
391+ implementation libs . library
387392
388393 // Shimmer animation
389- implementation " io.github.elye: loaderviewlibrary:3.0.0 "
394+ implementation libs . loaderviewlibrary
390395
391396 // dependencies for markdown rendering
392- implementation " io.noties.markwon: core: $m arkwonVersion "
393- implementation " io.noties.markwon: ext- strikethrough: $m arkwonVersion "
394- implementation " io.noties.markwon: ext- tables: $m arkwonVersion "
395- implementation " io.noties.markwon: ext- tasklist: $m arkwonVersion "
396- implementation " io.noties.markwon: html: $m arkwonVersion "
397-
398- implementation " io.noties.markwon: syntax- highlight: $m arkwonVersion "
399- implementation " io.noties: prism4j: $p rismVersion "
397+ implementation libs . core
398+ implementation libs . ext. strikethrough
399+ implementation libs . ext. tables
400+ implementation libs . ext. tasklist
401+ implementation libs . html
402+
403+ implementation libs . syntax. highlight
404+ implementation libs . prism4j
400405 kapt " io.noties:prism4j-bundler:$prismVersion "
401406
402407 // dependencies for image cropping and rotation
403- implementation " com.vanniktech: android- image-cropper:4.6.0 "
408+ implementation libs . android. image. cropper
404409
405- implementation " org .osmdroid:osmdroid-android:6.1.20 "
410+ implementation libs . osmdroid. android
406411
407- implementation(" org.mnode. ical4j:ical4j:3.2.19 " ) {
412+ implementation(libs . ical4j) {
408413 [" org.apache.commons" , " commons-logging" ]. each {
409414 exclude group : " $it "
410415 }
@@ -415,40 +420,40 @@ dependencies {
415420 }
416421
417422 // dependencies for local unit tests
418- testImplementation " junit:junit:4.13.2 "
419- testImplementation " org .mockito:mockito- core: $m ockitoVersion "
420- testImplementation " androidx .test: core: $a ndroidxTestVersion "
421- testImplementation " org .json:json:20250517 "
422- testImplementation " org .mockito.kotlin:mockito-kotlin: $m ockitoKotlinVersion "
423- testImplementation " androidx.arch. core:core-testing:2.2.0 "
423+ testImplementation libs . junit. junit
424+ testImplementation libs . mockito. core
425+ testImplementation libs . test. core
426+ testImplementation libs . json
427+ testImplementation libs . mockito. kotlin
428+ testImplementation libs . core. testing
424429 testImplementation " io.mockk:mockk:$mockkVersion "
425- testImplementation " io .mockk:mockk- android: $m ockkVersion "
430+ testImplementation libs . mockk. android
426431
427432 // Mocking support
428- androidTestImplementation " com.github.tmurakami: dexopener:2.0.5 " // required to allow mocking on API 27 and older
429- androidTestImplementation " org .mockito.kotlin:mockito-kotlin: $m ockitoKotlinVersion "
430- androidTestImplementation " org .mockito:mockito- core: $m ockitoVersion "
431- androidTestImplementation(" org .mockito:mockito- android: $m ockitoVersion " )
432- androidTestImplementation " io .mockk:mockk- android: $m ockkVersion "
433- androidTestImplementation " com.facebook.testing. screenshot:core:0.15.0 "
433+ androidTestImplementation libs . dexopener // required to allow mocking on API 27 and older
434+ androidTestImplementation libs . mockito. kotlin
435+ androidTestImplementation libs . mockito. core
436+ androidTestImplementation(libs . mockito. android)
437+ androidTestImplementation libs . mockk. android
438+ androidTestImplementation libs . screenshot. core
434439
435440 // UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
436441 // androidTestImplementation "androidx.test.uiautomator:uiautomator:2.2.0"
437442 // fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
438443 // androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
439- androidTestImplementation " tools.fastlane: screengrab:2.1.1 "
440- implementation " org.jetbrains. kotlin:kotlin- stdlib: $k otlin_version "
444+ androidTestImplementation libs . screengrab
445+ implementation libs . kotlin. stdlib
441446
442- implementation " com.github. stateless4j:stateless4j:2.6.0 "
447+ implementation libs . stateless4j
443448
444449 // upon each update first test: new registration, receive push
445- gplayImplementation " com.google. firebase:firebase-messaging:25.0.0 "
446- gplayImplementation " com.google.android.gms: play- services-base:18.7.2 "
447- gplayImplementation " com.google.android.play: review-ktx:2.0.2 "
450+ gplayImplementation libs . firebase. messaging
451+ gplayImplementation libs . play. services. base
452+ gplayImplementation libs . review. ktx
448453
449- implementation " com.github.nextcloud.android-common:ui: $a ndroidCommonLibraryVersion "
454+ implementation libs . ui
450455
451- implementation " io .coil-kt:coil:2.7.0 "
456+ implementation libs . coil
452457}
453458
454459configurations. configureEach {
0 commit comments