mirror of https://github.com/apache/lucene.git
Merge branch 'main' into java_21
This commit is contained in:
commit
0ccb119495
|
@ -53,6 +53,7 @@ allprojects {
|
||||||
dependsOn sourceSets.main.compileClasspath
|
dependsOn sourceSets.main.compileClasspath
|
||||||
classpath = sourceSets.main.compileClasspath
|
classpath = sourceSets.main.compileClasspath
|
||||||
srcDirSet = sourceSets.main.java
|
srcDirSet = sourceSets.main.java
|
||||||
|
releaseVersion = rootProject.minJavaVersion
|
||||||
|
|
||||||
outputDir = project.javadoc.destinationDir
|
outputDir = project.javadoc.destinationDir
|
||||||
}
|
}
|
||||||
|
@ -72,6 +73,7 @@ allprojects {
|
||||||
dependsOn sourceSets.main.compileClasspath
|
dependsOn sourceSets.main.compileClasspath
|
||||||
classpath = sourceSets.main.compileClasspath
|
classpath = sourceSets.main.compileClasspath
|
||||||
srcDirSet = sourceSets.main.java
|
srcDirSet = sourceSets.main.java
|
||||||
|
releaseVersion = rootProject.minJavaVersion
|
||||||
|
|
||||||
relativeProjectLinks = true
|
relativeProjectLinks = true
|
||||||
|
|
||||||
|
@ -280,6 +282,9 @@ class RenderJavadocTask extends DefaultTask {
|
||||||
@Input
|
@Input
|
||||||
boolean relativeProjectLinks = false
|
boolean relativeProjectLinks = false
|
||||||
|
|
||||||
|
@Input
|
||||||
|
JavaVersion releaseVersion
|
||||||
|
|
||||||
@Internal
|
@Internal
|
||||||
Map<String, File> offlineLinks = [:]
|
Map<String, File> offlineLinks = [:]
|
||||||
|
|
||||||
|
@ -423,7 +428,7 @@ class RenderJavadocTask extends DefaultTask {
|
||||||
opts << [ '-linkoffline', url, dir ]
|
opts << [ '-linkoffline', url, dir ]
|
||||||
}
|
}
|
||||||
|
|
||||||
opts << [ '--release', 21 ]
|
opts << [ '--release', releaseVersion.toString() ]
|
||||||
opts << '-Xdoclint:all,-missing'
|
opts << '-Xdoclint:all,-missing'
|
||||||
|
|
||||||
// Increase Javadoc's heap.
|
// Increase Javadoc's heap.
|
||||||
|
|
Loading…
Reference in New Issue