Commit 67c07fd
committed
Deps: Replace androidx legacy support v4 dependency in aztec
Although removing the 'androidx.legacy.support.v4' is enough by itself
and the build is (almost) not failing, it is better to also replace that
with 'androidx.collection' due to this 'androidx.collection.ArrayMap'
import on 'AztecQuoteSpan'.
FYI: It got introduced as part of this
(ad68cc9) commit, a part of the
AndroidX migration.
PS: To make sure that the build is not failing the only instance of
'androidx.legacy', the '<androidx.legacy.widget.Space/>' got replaced
with '<Space/>' on the 'aztec_format_bar_advanced.xml' view.
------------------------------------------------------------------------
This replacement was suggested by the dependency analysis report,
see below:
Advice for :aztec
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'
...
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
...1 parent a394608 commit 67c07fd
File tree
2 files changed
+2
-2
lines changed- aztec
- src/main/res/layout
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
0 commit comments