From d164ce221a0ceb1a4d8bbf26053d0c676bf66e1e Mon Sep 17 00:00:00 2001 From: shahddaghash Date: Wed, 6 Nov 2024 08:17:40 -0800 Subject: [PATCH] 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 --- libraries/ui/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ui/build.gradle b/libraries/ui/build.gradle index 887a03512d..9bc2f166d3 100644 --- a/libraries/ui/build.gradle +++ b/libraries/ui/build.gradle @@ -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