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 2022/11/21 07:42:28 UTC

[groovy] branch GROOVY_4_0_X updated: minor refactor

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

paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_4_0_X by this push:
     new 9b6a953e74 minor refactor
9b6a953e74 is described below

commit 9b6a953e74e6c7ab255d6e045df53b800c967070
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon Nov 21 17:42:20 2022 +1000

    minor refactor
---
 settings.gradle | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/settings.gradle b/settings.gradle
index a7e9e63c05..ad0efd6db2 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -95,8 +95,4 @@ rootProject.children.each { prj ->
 
 rootProject.name = 'groovy'
 
-GradleVersion gradleVersion = GradleVersion.current()
-GradleVersion gradle5_6 = GradleVersion.version('5.6')
-if (gradleVersion >= gradle5_6) {
-    enableFeaturePreview('GROOVY_COMPILATION_AVOIDANCE')
-}
+enableFeaturePreview('GROOVY_COMPILATION_AVOIDANCE')