[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
This commit is contained in:
jbibik 2025-03-06 12:08:14 -08:00 committed by Copybara-Service
parent 96d98a24fc
commit 8dcfa1afbe

View File

@ -51,11 +51,10 @@ dependencies {
api project(modulePrefix + 'lib-common-ktx')
def composeBom = platform('androidx.compose:compose-bom:2024.12.01')
implementation composeBom
api composeBom
// Remove the version number once b/385138624 is fixed, GMaven doesn't resolve the BOM above
implementation 'androidx.compose.foundation:foundation:1.7.6'
implementation 'androidx.core:core:' + androidxCoreVersion
api 'androidx.compose.foundation:foundation:1.7.6'
testImplementation 'androidx.compose.ui:ui-test'
testImplementation 'androidx.compose.ui:ui-test-junit4'