Commit eb14da55 by ibaker Committed by Tofunmi Adigun-Hameed

Update the root project name check in `publish.gradle`

The name was changed in https://github.com/google/ExoPlayer/commit/052c358dcd01481c3d1e2f9bec26775fcc2b04ba
and this check wasn't updated, meaning publishing no longer worked
(it didn't publish anything, just printed lots of warnings like
`Skipping task ':test-utils-robolectric:publish' as it has no
actions.`). This change means the check is now using the same
source-of-truth as the root project name, so it shouldn't go out of
sync again.

#minor-release

PiperOrigin-RevId: 531457952
parent 10c2e08e
Showing with 2 additions and 2 deletions
...@@ -21,6 +21,8 @@ def modulePrefix = ':' ...@@ -21,6 +21,8 @@ def modulePrefix = ':'
modulePrefix += gradle.ext.exoplayerModulePrefix modulePrefix += gradle.ext.exoplayerModulePrefix
} }
rootProject.name = 'exoplayer2'
include modulePrefix + 'library-common' include modulePrefix + 'library-common'
project(modulePrefix + 'library-common').projectDir = new File(rootDir, 'library/common') project(modulePrefix + 'library-common').projectDir = new File(rootDir, 'library/common')
......
...@@ -18,8 +18,6 @@ def modulePrefix = ':' ...@@ -18,8 +18,6 @@ def modulePrefix = ':'
modulePrefix += gradle.ext.exoplayerModulePrefix modulePrefix += gradle.ext.exoplayerModulePrefix
} }
rootProject.name = 'exoplayer2'
include modulePrefix + 'demo' include modulePrefix + 'demo'
project(modulePrefix + 'demo').projectDir = new File(rootDir, 'demos/main') project(modulePrefix + 'demo').projectDir = new File(rootDir, 'demos/main')
include modulePrefix + 'demo-cast' include modulePrefix + 'demo-cast'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment