Author: centic
Date: Mon Apr 21 09:06:03 2025
New Revision: 1925192

URL: http://svn.apache.org/viewvc?rev=1925192&view=rev
Log:
Use different link for JavaDoc with JDK 23+

Otherwise building JavaDoc fails on newer JDKs

Modified:
    xmlbeans/trunk/build.gradle

Modified: xmlbeans/trunk/build.gradle
URL: 
http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1925192&r1=1925191&r2=1925192&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Mon Apr 21 09:06:03 2025
@@ -272,6 +272,7 @@ javadoc {
             }
             addBooleanOption('Xdoclint:all,-missing', true)
             links 'https://poi.apache.org/apidocs/dev/'
+                       if (jdkVersion >= 23) links 
'https://docs.oracle.com/en/java/javase/23/docs/api/' else links 
'https://docs.oracle.com/javase/8/docs/api/'
             links 'https://docs.oracle.com/javase/8/docs/api/'
             links 'https://xmlbeans.apache.org/docs/5.0.0/'
             source = "1.8"



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to