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 2019/08/04 04:33:27 UTC

[groovy] branch master updated: Enable groovy compilation avoidance

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 79d2317  Enable groovy compilation avoidance
79d2317 is described below

commit 79d231720c5a1aa433fec079d30d5735d75b439c
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Aug 4 12:33:08 2019 +0800

    Enable groovy compilation avoidance
---
 build.gradle    | 2 ++
 settings.gradle | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/build.gradle b/build.gradle
index 01c3f46..7e0b9ba 100644
--- a/build.gradle
+++ b/build.gradle
@@ -413,6 +413,8 @@ allprojects {
 
         // TODO: this null check was required after adding JMH plugin to performance project
         classpath = (classpath != null) ? classpath + groovyClasspath : groovyClasspath
+    }.configureEach {
+        options.incremental = true
     }
 }
 
diff --git a/settings.gradle b/settings.gradle
index bfc3abe..895526a 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -56,3 +56,5 @@ rootProject.children.each { prj ->
 }
 
 rootProject.name = 'groovy' // TODO should this be groovy-core?
+
+enableFeaturePreview('GROOVY_COMPILATION_AVOIDANCE')