You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2022/05/14 05:07:19 UTC

[groovy] branch master updated: comment on an old reference to jcenter

This is an automated email from the ASF dual-hosted git repository.

paulk 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 87a04f03f0 comment on an old reference to jcenter
87a04f03f0 is described below

commit 87a04f03f097f4a981f39bef7f240ee63361d54b
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sat May 14 15:06:57 2022 +1000

    comment on an old reference to jcenter
---
 src/test/groovy/grape/GrabResolverTest.groovy | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/test/groovy/grape/GrabResolverTest.groovy b/src/test/groovy/grape/GrabResolverTest.groovy
index fe370b1892..2eb0557573 100644
--- a/src/test/groovy/grape/GrabResolverTest.groovy
+++ b/src/test/groovy/grape/GrabResolverTest.groovy
@@ -50,7 +50,9 @@ final class GrabResolverTest {
         grapeRoot.deleteOnExit()
 
         Grape.instance.settings.getResolver('downloadGrapes').resolvers.removeAll {
-            it.name == 'jcenter' || it.name == 'localm2' || it.name == 'cachedGrapes'
+            // jcenter is no longer used but it is left in this test just in case
+            // someone running this test has an old ~/.groovy/grapeConfig.xml
+            it.name == 'localm2' || it.name == 'cachedGrapes' || it.name == 'jcenter'
         }
     }