This is an automated email from the ASF dual-hosted git repository.

uschindler pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 12c82ce49b5 SOLR-17223 Remove hardcoded java version in renderJavadoc 
task (#2387)
12c82ce49b5 is described below

commit 12c82ce49b5dcf70306f481b4dcb180b2552e17f
Author: Jan Høydahl <[email protected]>
AuthorDate: Tue Aug 20 09:09:12 2024 +0200

    SOLR-17223 Remove hardcoded java version in renderJavadoc task (#2387)
    
    Ported from Lucene
---
 gradle/documentation/render-javadoc.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle/documentation/render-javadoc.gradle 
b/gradle/documentation/render-javadoc.gradle
index bd720b61615..bd90ad35426 100644
--- a/gradle/documentation/render-javadoc.gradle
+++ b/gradle/documentation/render-javadoc.gradle
@@ -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.

Reply via email to