Document that apps must depend on a consistent module version

PiperOrigin-RevId: 385522972
This commit is contained in:
ibaker 2021-07-19 12:11:59 +01:00 committed by Ian Baker
parent fa1bb32deb
commit 9cba98114c
2 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,8 @@ implementation 'com.google.android.exoplayer:exoplayer-dash:2.X.X'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.X.X' implementation 'com.google.android.exoplayer:exoplayer-ui:2.X.X'
``` ```
When depending on individual modules they must all be the same version.
The available library modules are listed below. Adding a dependency to the full The available library modules are listed below. Adding a dependency to the full
ExoPlayer library is equivalent to adding dependencies on all of the library ExoPlayer library is equivalent to adding dependencies on all of the library
modules individually. modules individually.

View File

@ -50,6 +50,8 @@ implementation 'com.google.android.exoplayer:exoplayer-ui:2.X.X'
~~~ ~~~
{: .language-gradle} {: .language-gradle}
When depending on individual modules they must all be the same version.
The available library modules are listed below. Adding a dependency to the full The available library modules are listed below. Adding a dependency to the full
ExoPlayer library is equivalent to adding dependencies on all of the library ExoPlayer library is equivalent to adding dependencies on all of the library
modules individually. modules individually.