You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/02/15 07:19:51 UTC

[groovy] branch master updated: Tweak warning of build script

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

sunlan 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 08e1d5a  Tweak warning of build script
08e1d5a is described below

commit 08e1d5a47c9dab797fde76e4520a61ed61d5c17e
Author: Daniel Sun <su...@apache.org>
AuthorDate: Mon Feb 15 15:18:45 2021 +0800

    Tweak warning of build script
    
    We have Java10 vmplugin since 4.0.0
---
 build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 55059bd..b2df3fe 100644
--- a/build.gradle
+++ b/build.gradle
@@ -229,11 +229,11 @@ tasks.named('test') {
     dependsOn testExtensionModuleJar
 }
 
-if (!JavaVersion.current().java9Compatible) {
+if (!JavaVersion.current().java10Compatible) {
     logger.lifecycle '''
     **************************************** WARNING ********************************************
     ******   You are running the build with an older JDK. NEVER try to release with 1.8.   ******
-    ******   You must use a JDK 1.9+ in order to compile all features of the language.     ******
+    ******   You must use a JDK 10+ in order to compile all features of the language.     ******
     *********************************************************************************************
 '''
 }