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 @@ -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 }
You can’t perform that action at this time.
0 commit comments