From 25581384e93bcb647a31678809421025385d72a0 Mon Sep 17 00:00:00 2001 From: ibaker Date: Tue, 2 May 2023 11:09:26 +0100 Subject: [PATCH] Add `rootProject.name` to decouple the AS name from the directory By default Android Studio will name the project based on the root directory it's opened from. This gives a consistent (and clear) name regardless of what root directory the project is located in on the filesystem. Explicitly defining `rootProject.name` is recommended here: https://docs.gradle.org/current/userguide/multi_project_builds.html#naming_recommendations PiperOrigin-RevId: 528729078 --- settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 716f405a9a..e70d239d53 100644 --- a/settings.gradle +++ b/settings.gradle @@ -18,7 +18,7 @@ if (gradle.ext.has('androidxMediaModulePrefix')) { modulePrefix += gradle.ext.androidxMediaModulePrefix } -rootProject.name = 'media3' +rootProject.name = 'androidx.media3' include modulePrefix + 'demo' project(modulePrefix + 'demo').projectDir = new File(rootDir, 'demos/main')