You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2026/05/04 04:25:59 UTC

(groovy) branch master updated: fix build

This is an automated email from the ASF dual-hosted git repository.

paulk-asert 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 4b9fcfeb4a fix build
4b9fcfeb4a is described below

commit 4b9fcfeb4a850421d64a4c87fbd6674656734afa
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon May 4 14:24:48 2026 +1000

    fix build
---
 build-logic/src/main/groovy/org.apache.groovy-core.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-logic/src/main/groovy/org.apache.groovy-core.gradle b/build-logic/src/main/groovy/org.apache.groovy-core.gradle
index 5e404c2bb9..e3726d6510 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-core.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-core.gradle
@@ -134,7 +134,7 @@ tasks.named('compileTestGroovy') {
 
 tasks.register('checkCompatibility') {
     doLast {
-        assert JavaVersion.current().java17Compatible
+        assert JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)
     }
 }