From 9f85a525d73309088f00482bd74e8c4b4804296e Mon Sep 17 00:00:00 2001 From: olly Date: Mon, 7 Feb 2022 18:46:38 +0000 Subject: [PATCH] Fix minimum API level issue Transformer's minimum API level is 21, where-as the full library is still targeting 16. Hence we should no longer include the transformer module in the full library dependency. #minor-release PiperOrigin-RevId: 426958045 --- RELEASENOTES.md | 5 +++++ docs/hello-world.md | 20 ++++---------------- library/all/build.gradle | 1 - 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 209263c5ba..fe272cfd56 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -147,6 +147,11 @@ ([#9775](https://github.com/google/ExoPlayer/issues/9775)). * Ignores invalid RTP-Info header values ([#9619](https://github.com/google/ExoPlayer/issues/9619)). +* Transformer: + * The transformer module is no longer included by depending on + `com.google.android.exoplayer:exoplayer`. To continue using + transformer, add an additional dependency on + `com.google.android.exoplayer:exoplayer-transformer`. * Cast extension * Fix bug that prevented `CastPlayer` from calling `onIsPlayingChanged` correctly ([#9792](https://github.com/google/ExoPlayer/issues/9792)). diff --git a/docs/hello-world.md b/docs/hello-world.md index af7c58ceb9..933df920cc 100644 --- a/docs/hello-world.md +++ b/docs/hello-world.md @@ -50,28 +50,16 @@ implementation 'com.google.android.exoplayer:exoplayer-ui:2.X.X' ~~~ {: .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 -ExoPlayer library is equivalent to adding dependencies on all of the library -modules individually. - -* `exoplayer-core`: Core functionality (required). -* `exoplayer-dash`: Support for DASH content. -* `exoplayer-hls`: Support for HLS content. -* `exoplayer-rtsp`: Support for RTSP content. -* `exoplayer-smoothstreaming`: Support for SmoothStreaming content. -* `exoplayer-transformer`: Media transformation functionality. -* `exoplayer-ui`: UI components and resources for use with ExoPlayer. +When depending on individual modules, they must all be the same version. You can +browse the list of available modules on the [Google Maven ExoPlayer page][]. The +full library includes all of the library modules prefixed with `exoplayer-`, +except for `exoplayer-transformer`. In addition to library modules, ExoPlayer has extension modules that depend on external libraries to provide additional functionality. Some extensions are available from the Maven repository, whereas others must be built manually. Browse the [extensions directory][] and their individual READMEs for details. -More information on the library and extension modules that are available can be -found on the [Google Maven ExoPlayer page][]. - ### Turn on Java 8 support ### If not enabled already, you need to turn on Java 8 support in all `build.gradle` diff --git a/library/all/build.gradle b/library/all/build.gradle index 96c7ff8683..739ff6289e 100644 --- a/library/all/build.gradle +++ b/library/all/build.gradle @@ -24,7 +24,6 @@ dependencies { api project(modulePrefix + 'library-hls') api project(modulePrefix + 'library-rtsp') api project(modulePrefix + 'library-smoothstreaming') - api project(modulePrefix + 'library-transformer') api project(modulePrefix + 'library-ui') }