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 f0e5aeee80 Refine configuration for incremental compilation f0e5aeee80 is described below commit f0e5aeee804218d7bf210d8b93f0163a3f298a6f Author: Daniel Sun <sun...@apache.org> AuthorDate: Sat Jun 22 20:24:52 2024 +0900 Refine configuration for incremental compilation (cherry picked from commit 5c78eaf3fed001f6e3254e9a76219b32c4793fd5) --- build-logic/src/main/groovy/org.apache.groovy-internal.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-logic/src/main/groovy/org.apache.groovy-internal.gradle b/build-logic/src/main/groovy/org.apache.groovy-internal.gradle index f538b42bb7..d7b1997c26 100644 --- a/build-logic/src/main/groovy/org.apache.groovy-internal.gradle +++ b/build-logic/src/main/groovy/org.apache.groovy-internal.gradle @@ -81,5 +81,7 @@ tasks.withType(GroovyCompile).configureEach { groovyOptions.fork(memoryMaximumSize: sharedConfiguration.groovycMaxMemory.get()) groovyClasspath = configurations.groovyCompilerClasspath + // See also https://docs.gradle.org/current/userguide/groovy_plugin.html#sec:incremental_groovy_compilation options.incremental = true + options.incrementalAfterFailure = true }