From c151d13a1dc6bf554f899bfd163f57edf761adba Mon Sep 17 00:00:00 2001 From: ibaker Date: Fri, 12 Apr 2024 06:46:01 -0700 Subject: [PATCH] Fix Kotlin "local dependency" instructions The previous syntax doesn't seem to work. I assume I tested it when I wrote https://github.com/androidx/media/commit/2eafa570e958164add5039b47adca1ff3143b947, so maybe it's stopped working since? Or maybe I'm wrong and it never worked. This syntax was originally proposed in Issue: google/ExoPlayer#6339 and seems to work today. PiperOrigin-RevId: 624161848 --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index d80a4bbf71..f67d346b75 100644 --- a/README.md +++ b/README.md @@ -123,9 +123,7 @@ Next, add the following to your project's `settings.gradle.kts` file, replacing `path/to/media` with the path to your local copy: ```kotlin -gradle.extra.apply { - set("androidxMediaModulePrefix", "media-") -} +(gradle as ExtensionAware).extra["androidxMediaModulePrefix"] = "media3-" apply(from = file("path/to/media/core_settings.gradle")) ```