Skip to content

Commit 6b00399

Browse files
oceanjulestonihei
authored andcommitted
[ui-compose] Move ComposeBom from implementation to api
PlayerSurface exposing the Modifier argument means the gradle dependency needs to be stricter #cherrypick PiperOrigin-RevId: 734237616 (cherry picked from commit 8dcfa1a)
1 parent d2703a1 commit 6b00399

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libraries/ui_compose/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,10 @@ dependencies {
5151
api project(modulePrefix + 'lib-common-ktx')
5252

5353
def composeBom = platform('androidx.compose:compose-bom:2024.12.01')
54-
implementation composeBom
54+
api composeBom
5555

5656
// Remove the version number once b/385138624 is fixed, GMaven doesn't resolve the BOM above
57-
implementation 'androidx.compose.foundation:foundation:1.7.6'
58-
implementation 'androidx.core:core:' + androidxCoreVersion
57+
api 'androidx.compose.foundation:foundation:1.7.6'
5958

6059
testImplementation 'androidx.compose.ui:ui-test'
6160
testImplementation 'androidx.compose.ui:ui-test-junit4'

0 commit comments

Comments
 (0)