This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 6ff6140c92 minor refactor: adjust outdated warning
6ff6140c92 is described below
commit 6ff6140c921a9e94fb8fc62664091d91e8523098
Author: Paul King <[email protected]>
AuthorDate: Wed Apr 15 21:16:24 2026 +1000
minor refactor: adjust outdated warning
---
build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index d8f230946f..46dbba002f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -227,11 +227,11 @@ tasks.named('test') {
dependsOn testExtensionModuleJar
}
-if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16)) {
+if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
logger.lifecycle '''
************************************* WARNING
***********************************************
**** You're running the build with an older JDK. NEVER try to release with an
old JDK! ****
-**** You must use a JDK 16+ in order to compile all features of the language.
****
+**** You must use a JDK 17+ in order to compile all features of the language.
****
*********************************************************************************************
'''
}