Skip to content

Commit cab7269

Browse files
Material Design Teampekingme
authored andcommitted
[Internal] Update path to Doclava
PiperOrigin-RevId: 519850747
1 parent fc0de1b commit cab7269

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ task generateJavadocs(type: Javadoc) {
131131
if (project.hasProperty("docletPathRoot")) {
132132
def docletPathRoot = project.property("docletPathRoot")
133133
def outputPath = project.hasProperty("outputPath") ? project.property("outputPath") : "doclava-out"
134+
def doclavaJar = project.getProperty("doclavaJar")
134135

135136
source = android.sourceSets.main.java.source
136137
source = source.findAll { it.name.endsWith(".java") }
@@ -142,7 +143,7 @@ task generateJavadocs(type: Javadoc) {
142143
options.encoding = "UTF-8"
143144
options.doclet = "com.google.doclava.Doclava"
144145
options.docletpath = [
145-
file(docletPathRoot + "/doclava/current/doclava.jar"),
146+
file(doclavaJar),
146147
file(docletPathRoot + "/jsilver/v1_0_0/jsilver.jar")
147148
]
148149
}

0 commit comments

Comments
 (0)