]> source.dussan.org Git - poi.git/commitdiff
jdk8 build issue
authorPJ Fanning <fanningpj@apache.org>
Sat, 29 Oct 2022 09:12:37 +0000 (09:12 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sat, 29 Oct 2022 09:12:37 +0000 (09:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904915 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index 14c9d18814be46f858a27d75d3e272b3dfa52399..5d12e88afe0bb06f3758b0d4d653959c06279f2a 100644 (file)
@@ -218,7 +218,7 @@ subprojects {
 
         doFirst {
             options {
-                addBooleanOption('html5', true)
+                if (jdkVersion > 8) addBooleanOption('html5', true)
                 addBooleanOption('Xdoclint:all,-missing', true)
                 links 'https://poi.apache.org/apidocs/dev/'
                 links 'https://docs.oracle.com/javase/8/docs/api/'