Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
85c07be9
authored
Feb 04, 2022
by
Ian Baker
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #34 from h6ah4i:fix/referring-duplicated-module-prefixed-project
PiperOrigin-RevId: 425858281
parents
363c75b6
1074078d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
libraries/common/build.gradle
libraries/common/build.gradle
View file @
85c07be9
...
...
@@ -17,9 +17,10 @@ apply from: "$gradle.ext.androidxMediaSettingsDir/common_library_config.gradle"
// the Gradle properties of each library are populated and we can automatically
// check if a 'releaseArtifactId' exists.
rootProject
.
allprojects
.
forEach
{
if
((
it
.
name
.
contains
(
'lib-'
)
||
it
.
name
.
contains
(
'test-'
))
if
((
it
.
name
.
startsWith
(
modulePrefix
.
replace
(
':'
,
''
)
+
'lib-'
)
||
it
.
name
.
startsWith
(
modulePrefix
.
replace
(
':'
,
''
)
+
'test-'
))
&&
!
it
.
name
.
endsWith
(
'-common'
))
{
evaluationDependsOn
(
modulePrefix
+
it
.
name
)
evaluationDependsOn
(
':'
+
it
.
name
)
}
}
// copybara:media3-only
...
...
@@ -36,8 +37,9 @@ dependencies {
// List all released targets as constraints. This ensures they are all
// resolved to the same version.
rootProject
.
allprojects
.
forEach
{
if
(
it
.
hasProperty
(
'releaseArtifactId'
))
{
implementation
project
(
modulePrefix
+
it
.
name
)
if
(
it
.
hasProperty
(
'releaseArtifactId'
)
&&
it
.
releaseArtifactId
.
startsWith
(
'media3-'
))
{
implementation
project
(
':'
+
it
.
name
)
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment