LUCENE-9871: minor cleanups of extra semicolons and solr build remnants.

This commit is contained in:
Dawid Weiss 2021-12-10 10:29:35 +01:00
parent b2b52ca92a
commit b9c22fdb49
1 changed files with 4 additions and 4 deletions

View File

@ -63,12 +63,12 @@ allprojects {
taskResources = resources taskResources = resources
dependsOn sourceSets.main.compileClasspath dependsOn sourceSets.main.compileClasspath
classpath = sourceSets.main.compileClasspath; classpath = sourceSets.main.compileClasspath
srcDirSet = sourceSets.main.java; srcDirSet = sourceSets.main.java
relativeProjectLinks = true relativeProjectLinks = true
// Place the documentation under Lucene or Solr's documentation directory. // Place the documentation under the documentation directory.
// docroot is defined in 'documentation.gradle' // docroot is defined in 'documentation.gradle'
outputDir = project.docroot.toPath().resolve(project.relativeDocPath).toFile() outputDir = project.docroot.toPath().resolve(project.relativeDocPath).toFile()
} }
@ -362,7 +362,7 @@ class RenderJavadocTask extends DefaultTask {
def opts = [] def opts = []
opts << [ '-overview', project.file("${srcDirs[0]}/overview.html") ] opts << [ '-overview', project.file("${srcDirs[0]}/overview.html") ]
opts << [ '-sourcepath', srcDirs.join(File.pathSeparator) ] opts << [ '-sourcepath', srcDirs.join(File.pathSeparator) ]
opts << [ '-subpackages', project.path.startsWith(':lucene') ? 'org.apache.lucene' : 'org.apache.solr' ] opts << [ '-subpackages', 'org.apache.lucene' ]
opts << [ '-d', outputDir ] opts << [ '-d', outputDir ]
opts << '-protected' opts << '-protected'
opts << [ '-encoding', 'UTF-8' ] opts << [ '-encoding', 'UTF-8' ]