mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
Update to latest supported JDK version of forbiddenapis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925185 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be33cd61d1
commit
121c5f2aaf
@ -490,14 +490,13 @@ subprojects {
|
||||
}
|
||||
|
||||
forbiddenApisTest {
|
||||
// forbiddenapis bundled signatures max supported version is 17
|
||||
// also see https://github.com/policeman-tools/forbidden-apis/issues/191
|
||||
targetCompatibility = (JavaVersion.VERSION_17.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_17)
|
||||
// forbiddenapis:3.8 bundled signatures max supported version is 23
|
||||
targetCompatibility = (JavaVersion.VERSION_17.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_23)
|
||||
}
|
||||
|
||||
forbiddenApisMain {
|
||||
signaturesFiles += files('../src/resources/devtools/forbidden-signatures-prod.txt')
|
||||
targetCompatibility = (JavaVersion.VERSION_17.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_17)
|
||||
targetCompatibility = (JavaVersion.VERSION_17.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_23)
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user