File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments