LUCENE-9278: concatenate paths for sourcepath using path separator rather than whitespace (which causes invalid option to be passed to javadoc).

This commit is contained in:
Dawid Weiss 2020-04-30 10:24:23 +02:00
parent 5354f7e88e
commit 26c9fce5db
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ allprojects {
def opts = []
opts += [ "-overview ${file("src/java/overview.html").toString()}" ]
opts += [ "-sourcepath ${srcDirs.join(' ')}" ]
opts += [ "-sourcepath ${srcDirs.join(File.pathSeparator)}" ]
opts += [ "-subpackages ${project.path.startsWith(':lucene') ? 'org.apache.lucene' : 'org.apache.solr'}"]
opts += [ "-d ${project.javadoc.destinationDir.toString()}" ]
opts += [ "-protected" ]