]> source.dussan.org Git - poi.git/commitdiff
java 17 build issue
authorPJ Fanning <fanningpj@apache.org>
Tue, 22 Feb 2022 01:26:06 +0000 (01:26 +0000)
committerPJ Fanning <fanningpj@apache.org>
Tue, 22 Feb 2022 01:26:06 +0000 (01:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898298 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index 7298484afee73c021d5df1cd7e5f40a3eae66e79..eb1ed9df2e982db3e9dfeebb258e5706f8933865 100644 (file)
@@ -413,7 +413,7 @@ subprojects {
         ignoreFailures = false
         suppressAnnotations = [ 'org.apache.poi.util.SuppressForbidden' ]
         // forbiddenapis bundled signatures max supported version is 14
-        // targetCompatibility = (JavaVersion.VERSION_14.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_14)
+        targetCompatibility = (JavaVersion.VERSION_14.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_14)
     }
 
     forbiddenApisMain {