mirror of
https://github.com/androidx/media.git
synced 2025-05-10 09:12:16 +08:00
Configure Dackka to generate javadoc for protected methods
#minor-release PiperOrigin-RevId: 487497923 (cherry picked from commit a402955125b1df3943ff2f7c0bcbf963bb1c8a20)
This commit is contained in:
parent
2826a55355
commit
d0d6cbd583
@ -115,11 +115,16 @@ class CombinedJavadocPlugin implements Plugin<Project> {
|
|||||||
def sourcesString = project.files(sources.flatten())
|
def sourcesString = project.files(sources.flatten())
|
||||||
.filter({ f -> project.file(f).exists() }).join(";")
|
.filter({ f -> project.file(f).exists() }).join(";")
|
||||||
def dependenciesString = project.files(dependencies).asPath.replace(':', ';')
|
def dependenciesString = project.files(dependencies).asPath.replace(':', ';')
|
||||||
|
def sourceSet = [
|
||||||
|
"-src", sourcesString,
|
||||||
|
"-classpath", dependenciesString,
|
||||||
|
"-documentedVisibilities", "PUBLIC;PROTECTED"
|
||||||
|
].join(" ")
|
||||||
args("-moduleName", "",
|
args("-moduleName", "",
|
||||||
"-outputDir", "$dackkaOutputDir",
|
"-outputDir", "$dackkaOutputDir",
|
||||||
"-globalLinks", "$globalLinksString",
|
"-globalLinks", "$globalLinksString",
|
||||||
"-loggingLevel", "WARN",
|
"-loggingLevel", "WARN",
|
||||||
"-sourceSet", "-src $sourcesString -classpath $dependenciesString",
|
"-sourceSet", "$sourceSet",
|
||||||
"-offlineMode")
|
"-offlineMode")
|
||||||
environment("DEVSITE_TENANT", "androidx/media3")
|
environment("DEVSITE_TENANT", "androidx/media3")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user