changeset 261:b7b65152446e

handle maven local as not-remote repo
author smith@nwoca.org
date Mon, 05 Nov 2018 14:28:22 +0000
parents 7b699c240ceb
children e531b09c4659
files init20.gradle
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/init20.gradle	Fri Nov 02 16:21:16 2018 +0100
+++ b/init20.gradle	Mon Nov 05 14:28:22 2018 +0000
@@ -513,7 +513,7 @@
 
             }
             
-            def remoteRepos = thisProject.repositories.findAll { it.hasProperty('url') && !(it.name == 'local' || it.url.toString().contains('ssdt')) } 
+            def remoteRepos = thisProject.repositories.findAll { it.hasProperty('url') && !(it.name.toLowerCase().contains('local') || it.url.toString().contains('ssdt')) } 
             if (remoteRepos) {
                 logger.warn "WARNING: Remote repositories configured for $thisProject:\n" + remoteRepos.collect { "\t$it.name $it.url " }.join('\n')  + "\n Moved to lowest priority..."
                 remoteRepos.each {