Skip to content

Commit d0d6cbd

Browse files
icbakermicrokatz
authored andcommitted
Configure Dackka to generate javadoc for protected methods
#minor-release PiperOrigin-RevId: 487497923 (cherry picked from commit a402955)
1 parent 2826a55 commit d0d6cbd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

javadoc_combined.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,16 @@ class CombinedJavadocPlugin implements Plugin {
115115
def sourcesString = project.files(sources.flatten())
116116
.filter({ f -> project.file(f).exists() }).join(";")
117117
def dependenciesString = project.files(dependencies).asPath.replace(':', ';')
118+
def sourceSet = [
119+
"-src", sourcesString,
120+
"-classpath", dependenciesString,
121+
"-documentedVisibilities", "PUBLIC;PROTECTED"
122+
].join(" ")
118123
args("-moduleName", "",
119124
"-outputDir", "$dackkaOutputDir",
120125
"-globalLinks", "$globalLinksString",
121126
"-loggingLevel", "WARN",
122-
"-sourceSet", "-src $sourcesString -classpath $dependenciesString",
127+
"-sourceSet", "$sourceSet",
123128
"-offlineMode")
124129
environment("DEVSITE_TENANT", "androidx/media3")
125130
}

0 commit comments

Comments
 (0)