Author: centic
Date: Mon Apr 21 11:57:26 2025
New Revision: 1925198
URL: http://svn.apache.org/viewvc?rev=1925198&view=rev
Log:
Adjust javadoc-building for JDK 23+ some more
Modified:
xmlbeans/trunk/build.gradle
Modified: xmlbeans/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1925198&r1=1925197&r2=1925198&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Mon Apr 21 11:57:26 2025
@@ -273,7 +273,11 @@ 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/'
+ if (JavaVersion.current().ordinal() >=
JavaVersion.VERSION_23.ordinal()) {
+ links
'https://docs.oracle.com/en/java/javase/23/docs/api/'
+ } else {
+ 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]