From efb79472ff13a9224d9d10908c44e227eef31efc Mon Sep 17 00:00:00 2001 From: Googler Date: Mon, 5 Aug 2024 04:10:25 -0700 Subject: [PATCH] Fixes README instructions for depending on modules locally #cherrypick PiperOrigin-RevId: 659504142 (cherry picked from commit e7eef0ce346d2567e3f51090bb64ee5fe7b8f727) --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f67d346b757..dba5092b904 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,6 @@ First, clone the repository into a local directory: ```sh git clone https://github.com/androidx/media.git -cd media ``` Next, add the following to your project's `settings.gradle.kts` file, replacing @@ -130,7 +129,7 @@ apply(from = file("path/to/media/core_settings.gradle")) Or in Gradle Groovy DSL `settings.gradle`: ```groovy -gradle.ext.androidxMediaModulePrefix = 'media-' +gradle.ext.androidxMediaModulePrefix = 'media3-' apply from: file("path/to/media/core_settings.gradle") ``` @@ -139,17 +138,17 @@ You can depend on them from `build.gradle.kts` as you would on any other local module, for example: ```kotlin -implementation(project(":media-lib-exoplayer")) -implementation(project(":media-lib-exoplayer-dash")) -implementation(project(":media-lib-ui")) +implementation(project(":media3-lib-exoplayer")) +implementation(project(":media3-lib-exoplayer-dash")) +implementation(project(":media3-lib-ui")) ``` Or in Gradle Groovy DSL `build.gradle`: ```groovy -implementation project(':media-lib-exoplayer') -implementation project(':media-lib-exoplayer-dash') -implementation project(':media-lib-ui') +implementation project(':media3-lib-exoplayer') +implementation project(':media3-lib-exoplayer-dash') +implementation project(':media3-lib-ui') ``` #### MIDI module