Change lib-common dependency scope to api in lib-ui

Changed the dependency of `lib-common` in `lib-ui` from an `implementation` dependency to an `api` dependency. This change ensures that classes and interfaces from `lib-common` used in the public API of `lib-ui` are correctly exposed to consumers of `lib-ui`.

For example, `PlayerView implements AdViewProvider` where the latter is from `androidx.media3.common.AdViewProvider`.

PiperOrigin-RevId: 693734349
This commit is contained in:
shahddaghash 2024-11-06 08:17:40 -08:00 committed by Copybara-Service
parent 3d51b36e99
commit d164ce221a

View File

@ -35,7 +35,7 @@ android {
}
dependencies {
implementation project(modulePrefix + 'lib-common')
api project(modulePrefix + 'lib-common')
implementation 'androidx.media:media:' + androidxMediaVersion
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
implementation 'androidx.recyclerview:recyclerview:' + androidxRecyclerViewVersion