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 2019/11/09 07:18:40 UTC

[groovy] 09/12: if dependency is found in local .m2 repo, don't copy jars to grape cache

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

commit 49df75f97d04f40554fbaaf692699761d8e065cc
Author: Eric Milles <er...@thomsonreuters.com>
AuthorDate: Thu Nov 7 10:16:05 2019 -0600

    if dependency is found in local .m2 repo, don't copy jars to grape cache
    
    (cherry picked from commit eaf651e18c407e8564131c3cde36060c04811b03)
---
 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 14a180f..4d17a40 100644
--- a/src/resources/groovy/grape/defaultGrapeConfig.xml
+++ b/src/resources/groovy/grape/defaultGrapeConfig.xml
@@ -19,6 +19,7 @@
 
 -->
 <ivysettings>
+  <caches useOrigin="true"/>
   <settings defaultResolver="downloadGrapes"/>
   <resolvers>
     <chain name="downloadGrapes" returnFirst="true">