File tree 5 files changed +6
-8
lines changed
5 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 17
17
18
18
def resources = scriptResources(buildscript)
19
19
20
- configure(subprojects . findAll { it . path == ' :lucene:documentation ' || it . path == ' : solr:documentation' } ) {
20
+ configure(project( ' : solr:documentation' ) ) {
21
21
task changesToHtml(type : ChangesToHtmlTask ) {
22
22
siteDir = resources
23
23
script = file(" ${ resources} /changes2html.pl" )
Original file line number Diff line number Diff line change @@ -67,8 +67,7 @@ configure(rootProject) {
67
67
}
68
68
69
69
// docroot will point to Lucene and Solr relative directory for each sub-project.
70
- configure(subprojects. findAll { it. path == ' :lucene:documentation' || it. path == ' :solr:documentation' }) {
71
-
70
+ configure(project(' :solr:documentation' )) {
72
71
ext {
73
72
docroot = file(" ${ buildDir} /site" )
74
73
docrootMinimal = file(" ${ buildDir} /minimalSite" )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ buildscript {
40
40
}
41
41
}
42
42
43
- configure(subprojects . findAll { it . path == ' :lucene:documentation ' || it . path == ' : solr:documentation' } ) {
43
+ configure(project( ' : solr:documentation' ) ) {
44
44
task markdownToHtml(type : Copy ) {
45
45
dependsOn copyDocumentationAssets
46
46
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def javaJavadocPackages = rootProject.file("${resources}/java11/")
82
82
def junitJavadocPackages = rootProject. file(" ${ resources} /junit/" )
83
83
allprojects {
84
84
project. tasks. withType(RenderJavadocTask ) {
85
- title = " ${ project.path.startsWith(':lucene') ? 'Lucene' : ' Solr' } ${ project.version} ${ project.name} API"
85
+ title = " Solr ${ project.version} ${ project.name} API"
86
86
87
87
offlineLinks + = [
88
88
" https://docs.oracle.com/en/java/javase/11/docs/api/" : javaJavadocPackages,
@@ -260,7 +260,7 @@ class RenderJavadocTask extends DefaultTask {
260
260
def opts = []
261
261
opts << [ ' -overview' , project. file(" ${ srcDirs[0]} /overview.html" ) ]
262
262
opts << [ ' -sourcepath' , srcDirs. join(File . pathSeparator) ]
263
- opts << [ ' -subpackages' , project . path . startsWith( ' :lucene ' ) ? ' org.apache.lucene ' : ' org.apache.solr' ]
263
+ opts << [ ' -subpackages' , ' org.apache.solr' ]
264
264
opts << [ ' -d' , outputDir ]
265
265
opts << ' -protected'
266
266
opts << [ ' -encoding' , ' UTF-8' ]
Original file line number Diff line number Diff line change @@ -20,12 +20,11 @@ configure(rootProject) {
20
20
group ' Verification'
21
21
description ' Check broken links in the entire documentation'
22
22
23
- dependsOn ' :lucene:documentation:checkBrokenLinks'
24
23
dependsOn ' :solr:documentation:checkBrokenLinks'
25
24
}
26
25
}
27
26
28
- configure(subprojects . findAll { it . path in [ ' :lucene:documentation ' , ' : solr:documentation' ] } ) {
27
+ configure(project( ' : solr:documentation' ) ) {
29
28
task checkBrokenLinks(type : CheckBrokenLinksTask , ' dependsOn' : ' documentation' )
30
29
check. dependsOn checkBrokenLinks
31
30
}
You can’t perform that action at this time.
0 commit comments