This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git
The following commit(s) were added to refs/heads/trunk by this push:
new 782d187b10 Update targetCompatibility to use JavaVersion.VERSION_23
782d187b10 is described below
commit 782d187b10a195f92778a249984ef8a850f1ebc7
Author: PJ Fanning <[email protected]>
AuthorDate: Wed Oct 22 22:18:45 2025 +0100
Update targetCompatibility to use JavaVersion.VERSION_23
---
build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index 0e4f0631e7..f2edee6ca9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -494,12 +494,12 @@ subprojects {
forbiddenApisTest {
// forbiddenapis:3.8 bundled signatures max supported version is 23
- targetCompatibility =
(JavaVersion.VERSION_17.isCompatibleWith(JavaVersion.current()) ?
JavaVersion.current() : JavaVersion.VERSION_23)
+ targetCompatibility =
(JavaVersion.VERSION_23.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_23)
+ targetCompatibility =
(JavaVersion.VERSION_23.isCompatibleWith(JavaVersion.current()) ?
JavaVersion.current() : JavaVersion.VERSION_23)
}
publishing {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]