Skip to content

Commit 13613b0

Browse files
Material Design Teamdrchen
authored andcommitted
[Internal] Update path to Doclava
PiperOrigin-RevId: 519850747 (cherry picked from commit cab7269)
1 parent 88e1688 commit 13613b0

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
@@ -133,6 +133,7 @@ task generateJavadocs(type: Javadoc) {
133133
if (project.hasProperty("docletPathRoot")) {
134134
def docletPathRoot = project.property("docletPathRoot")
135135
def outputPath = project.hasProperty("outputPath") ? project.property("outputPath") : "doclava-out"
136+
def doclavaJar = project.getProperty("doclavaJar")
136137

137138
source = android.sourceSets.main.java.source
138139
source = source.findAll { it.name.endsWith(".java") }
@@ -144,7 +145,7 @@ task generateJavadocs(type: Javadoc) {
144145
options.encoding = "UTF-8"
145146
options.doclet = "com.google.doclava.Doclava"
146147
options.docletpath = [
147-
file(docletPathRoot + "/doclava/current/doclava.jar"),
148+
file(doclavaJar),
148149
file(docletPathRoot + "/jsilver/v1_0_0/jsilver.jar")
149150
]
150151
}

0 commit comments

Comments
 (0)