Skip to content

Commit adae1fa

Browse files
committed
Deps: Add transitive androidx compose ui unit dep to media ph
Although removing the 'androidx.compose.ui:ui' is enough by itself and the build is okay, it is better to add 'androidx.compose.ui:ui-unit' for transitive dependency related purposes. FYI: It got introduced as part of this (7d8d37c) commit, a part of implementing placeholders in compose. ------------------------------------------------------------------------ This addition was suggested by the dependency analysis report, see below: These transitive dependencies should be declared directly: ... implementation 'androidx.compose.ui:ui-unit:1.7.5' ...
1 parent 9a13982 commit adae1fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

media-placeholders/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ dependencies {
4949
testImplementation "org.robolectric:robolectric:$robolectricVersion"
5050
implementation "androidx.compose.foundation:foundation:$androidxComposeLibraryVersion"
5151
implementation "androidx.compose.ui:ui:$androidxComposeLibraryVersion"
52+
implementation "androidx.compose.ui:ui-unit:$androidxComposeLibraryVersion"
5253
}
5354

5455
dependencyAnalysis {

0 commit comments

Comments
 (0)