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 2022/10/02 06:23:09 UTC

[groovy] branch master updated: Enable incremental Groovy compilation for bootstrap

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 ef498c5b92 Enable incremental Groovy compilation for bootstrap
ef498c5b92 is described below

commit ef498c5b921047e530d6c0e8bc29c6d5a1f67a2c
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Oct 2 14:20:16 2022 +0800

    Enable incremental Groovy compilation for bootstrap
---
 build-logic/src/main/groovy/org.apache.groovy-core.gradle | 3 ++-
 1 file changed, 2 insertions(+), 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 4b3ff41f09..876aad2a99 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-core.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-core.gradle
@@ -145,6 +145,7 @@ tasks.withType(GroovyCompile).configureEach {
     if (it.name == 'compileGroovy') {
         classpath = files(bootstrapJar, classpath)
     }
+    options.incremental = true
 }
 
 allprojects {
@@ -241,4 +242,4 @@ configurations {
             }
         }
     }
-}
\ No newline at end of file
+}