diff options
Diffstat (limited to 'poi-ooxml/build.gradle')
-rw-r--r-- | poi-ooxml/build.gradle | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle index ba5c390283..41cdb86932 100644 --- a/poi-ooxml/build.gradle +++ b/poi-ooxml/build.gradle @@ -232,9 +232,7 @@ javadoc { failOnError = true doFirst { options { - if (JavaVersion.current().isJava9Compatible()) { - addBooleanOption('html5', true) - } + if (jdkVersion > 8) addBooleanOption('html5', true) links 'https://poi.apache.org/apidocs/dev/' links 'https://docs.oracle.com/javase/8/docs/api/' use = true |