groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] branch master updated: Enable groovy compilation avoidance
Date Sun, 04 Aug 2019 04:33:27 GMT
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 <sunlan@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')


Mime
View raw message