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

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

commit ce43e5ab5616602a4c1c34b485bd07bd4946f6af
Author: Daniel Sun <[email protected]>
AuthorDate: Sun Oct 2 14:20:16 2022 +0800

    Enable incremental Groovy compilation for bootstrap
    
    (cherry picked from commit ef498c5b921047e530d6c0e8bc29c6d5a1f67a2c)
---
 buildSrc/src/main/groovy/org.apache.groovy-core.gradle | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/buildSrc/src/main/groovy/org.apache.groovy-core.gradle 
b/buildSrc/src/main/groovy/org.apache.groovy-core.gradle
index 4b3ff41f09..876aad2a99 100644
--- a/buildSrc/src/main/groovy/org.apache.groovy-core.gradle
+++ b/buildSrc/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
+}

Reply via email to