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 2025/01/18 11:21:05 UTC

(groovy) branch GROOVY_4_0_X updated: GROOVY-7407: Compilation not thread safe if Grape / Ivy is used in Groovy scripts (#2142)

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 7bfd20ea91 GROOVY-7407: Compilation not thread safe if Grape / Ivy is used in Groovy scripts (#2142)
7bfd20ea91 is described below

commit 7bfd20ea91448ab434c09431a1bf6dce586824ce
Author: Basil Crow <me...@basilcrow.com>
AuthorDate: Thu Jan 16 15:53:47 2025 -0800

    GROOVY-7407: Compilation not thread safe if Grape / Ivy is used in Groovy scripts (#2142)
    
    (cherry picked from commit 3b50a704a03d4d00762660d7dfdecc735bdb81b9)
---
 src/resources/groovy/grape/defaultGrapeConfig.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/resources/groovy/grape/defaultGrapeConfig.xml b/src/resources/groovy/grape/defaultGrapeConfig.xml
index e913b88230..4fb56af2f3 100644
--- a/src/resources/groovy/grape/defaultGrapeConfig.xml
+++ b/src/resources/groovy/grape/defaultGrapeConfig.xml
@@ -20,6 +20,7 @@
 -->
 <ivysettings>
   <settings defaultResolver="downloadGrapes"/>
+  <caches lockStrategy="artifact-lock-nio"/>
   <resolvers>
     <chain name="downloadGrapes" returnFirst="true">
       <filesystem name="cachedGrapes">