Skip to content

Commit 9794a6e

Browse files
committed
Deps: Replace androidx legacy support v4 dependency in picasso loader
Although removing the 'androidx.legacy.support.v4' is enough by itself and the build is not failing, it is better to also replace that with 'androidx.collection' due to this 'androidx.collection.ArrayMap' import on 'PicassoImageLoader'. FYI: It got introduced as part of this (ad68cc9) commit, a part of the AndroidX migration. ------------------------------------------------------------------------ This replacement was suggested by the dependency analysis report, see below: Advice for :picasso-loader Unused dependencies which should be removed: implementation 'androidx.legacy:legacy-support-v4:1.0.0' ... These transitive dependencies should be declared directly: implementation 'androidx.collection:collection:1.1.0'
1 parent 7db2a43 commit 9794a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

picasso-loader/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ android {
2525
dependencies {
2626
implementation aztecProjectDependency
2727

28-
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
28+
implementation 'androidx.collection:collection:1.1.0'
2929
implementation 'com.google.android.material:material:1.0.0'
3030

3131
implementation "com.squareup.picasso:picasso:$picassoVersion"

0 commit comments

Comments
 (0)