Skip to content

Commit

Permalink
Configure Dackka to generate javadoc for protected methods
Browse files Browse the repository at this point in the history
#minor-release

PiperOrigin-RevId: 487497923
(cherry picked from commit a402955)
  • Loading branch information
icbaker authored and microkatz committed Nov 10, 2022
1 parent 2826a55 commit d0d6cbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion javadoc_combined.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,16 @@ class CombinedJavadocPlugin implements Plugin<Project> {
def sourcesString = project.files(sources.flatten())
.filter({ f -> project.file(f).exists() }).join(";")
def dependenciesString = project.files(dependencies).asPath.replace(':', ';')
def sourceSet = [
"-src", sourcesString,
"-classpath", dependenciesString,
"-documentedVisibilities", "PUBLIC;PROTECTED"
].join(" ")
args("-moduleName", "",
"-outputDir", "$dackkaOutputDir",
"-globalLinks", "$globalLinksString",
"-loggingLevel", "WARN",
"-sourceSet", "-src $sourcesString -classpath $dependenciesString",
"-sourceSet", "$sourceSet",
"-offlineMode")
environment("DEVSITE_TENANT", "androidx/media3")
}
Expand Down

0 comments on commit d0d6cbd

Please sign in to comment.