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