Skip to content

Commit 884864d

Browse files
committed
Deps: Replace androidx compose foundation with foundation layout
Removing the 'androidx.compose.foundation:foundation' dependency wasn't enough by itself as the build was then failing. Adding the transient 'androidx.compose.foundation:foundation-layout' dependency was actually required in order to make the build successful again. FYI: It got introduced as part of this (7d8d37c) commit, a part of implementing placeholders in compose. ------------------------------------------------------------------------ This replacement was suggested by the dependency analysis report, see below: Unused dependencies which should be removed: implementation 'androidx.compose.foundation:foundation:1.7.5' ... These transitive dependencies should be declared directly: ... implementation 'androidx.compose.foundation:foundation-layout:1.7.5' ...
1 parent adae1fa commit 884864d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media-placeholders/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dependencies {
4747
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesVersion"
4848
testImplementation "junit:junit:$jUnitVersion"
4949
testImplementation "org.robolectric:robolectric:$robolectricVersion"
50-
implementation "androidx.compose.foundation:foundation:$androidxComposeLibraryVersion"
50+
implementation "androidx.compose.foundation:foundation-layout:$androidxComposeLibraryVersion"
5151
implementation "androidx.compose.ui:ui:$androidxComposeLibraryVersion"
5252
implementation "androidx.compose.ui:ui-unit:$androidxComposeLibraryVersion"
5353
}

0 commit comments

Comments
 (0)