java 17 build issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-02-22 01:26:06 +00:00
parent 877d9f33a5
commit 0eaba75b9f
1 changed files with 1 additions and 1 deletions

View 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 {