# HG changeset patch # User smith@nwoca.org # Date 1428940217 -3600 # Node ID 5b142b2b730f26738c65e769e2c3268ce262d91b # Parent 524680aba8d3f88dc66272ae98fdfcb313fc9382 fix for other local repos diff -r 524680aba8d3 -r 5b142b2b730f init20.gradle --- a/init20.gradle Fri Apr 10 22:39:36 2015 +0100 +++ b/init20.gradle Mon Apr 13 16:50:17 2015 +0100 @@ -375,10 +375,9 @@ url = "${ssdtArtifactory}/repository" } - } - def remoteRepos = thisProject.repositories.findAll { !(it.name == 'local' || it.url.toString().contains('ssdt')) } + def remoteRepos = thisProject.repositories.findAll { it.hasProperty('url') && !(it.name == '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 { @@ -386,7 +385,7 @@ thisProject.repositories.addLast(it) } } - logger.info "$thisProject configured repositories:\n" + thisProject.repositories.collect {"\t$it.name $it.url" }.join('\n') + logger.info "$thisProject configured repositories:\n" + thisProject.repositories.collect {"\t$it.name ${it.hasProperty('url') ? it.url : '' }" }.join('\n') if (thisProject.repositories.find { it.name == 'local' } && thisProject.getTasksByName('uploadArchives', false)) {