Skip to content

Commit

Permalink
SOLR-17223 Remove hardcoded java version in renderJavadoc task (#2387)
Browse files Browse the repository at this point in the history
Ported from Lucene
  • Loading branch information
janhoy authored Aug 20, 2024
1 parent 93a012d commit 12c82ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/documentation/render-javadoc.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ class RenderJavadocTask extends DefaultTask {
opts << [ '-linkoffline', url, dir ]
}

opts << [ '--release', 11 ]
opts << [ '--release', project.minJavaVersion.toString() ]
opts << '-Xdoclint:all,-missing'

// Increase Javadoc's heap.
Expand Down

0 comments on commit 12c82ce

Please sign in to comment.