You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by em...@apache.org on 2019/11/07 16:16:12 UTC

[groovy] branch GROOVY-8305 updated: 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.

emilles pushed a commit to branch GROOVY-8305
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY-8305 by this push:
     new 5936c03  if dependency is found in local .m2 repo, don't copy jars to grape cache
5936c03 is described below

commit 5936c0324f3d4e91a6070f645e7f642c6b9510f4
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
---
 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">