This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 6a288e568d GROOVY-7407: Compilation not thread safe if Grape / Ivy is
used in Groovy scripts (#2142)
6a288e568d is described below
commit 6a288e568d8e4be144bf59a89efe0df7fb21e360
Author: Basil Crow <[email protected]>
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 48eba1fcb1..99710eaf3f 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">