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
2441bc69
authored
Jun 01, 2022
by
bachinger
Committed by
Marc Baechinger
Jun 07, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Filter bogus AndroidX Media jar file when creating javadoc
#minor-release PiperOrigin-RevId: 452282128
parent
97210b5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
javadoc_combined.gradle
javadoc_combined.gradle
View file @
2441bc69
...
@@ -48,9 +48,21 @@ class CombinedJavadocPlugin implements Plugin<Project> {
...
@@ -48,9 +48,21 @@ class CombinedJavadocPlugin implements Plugin<Project> {
libraryModule
.
android
.
libraryVariants
.
all
{
variant
->
libraryModule
.
android
.
libraryVariants
.
all
{
variant
->
def
name
=
variant
.
buildType
.
name
def
name
=
variant
.
buildType
.
name
if
(
name
==
"release"
)
{
if
(
name
==
"release"
)
{
// Works around b/234569640 that causes different versions of the androidx.media
// jar to be on the classpath.
def
allJarFiles
=
[]
allJarFiles
.
addAll
(
variant
.
javaCompileProvider
.
get
().
classpath
.
files
)
def
filteredJarFiles
=
allJarFiles
.
findAll
{
file
->
if
(
file
==~
/.*media-.\..\..-api.jar$/
&&
!
file
.
path
.
endsWith
(
"media-"
+
project
.
ext
.
androidxMediaVersion
+
"-api.jar"
))
{
return
false
;
}
return
true
;
}
classpath
+=
classpath
+=
libraryModule
.
project
.
files
(
libraryModule
.
project
.
files
(
variant
.
javaCompileProvider
.
get
().
classpath
.
f
iles
,
filteredJarF
iles
,
libraryModule
.
project
.
android
.
getBootClasspath
())
libraryModule
.
project
.
android
.
getBootClasspath
())
}
}
}
}
...
...
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