comparison init20.gradle @ 225:4015b287c69f

USASR-2244: Change logger statement to println
author Christopher Springer <springer@nwoca.org>
date Thu, 07 Jul 2016 16:48:26 +0100
parents f2495310ee69
children ea011be895bd
comparison
equal deleted inserted replaced
224:f2495310ee69 225:4015b287c69f
796 digest.update(s.bytes); 796 digest.update(s.bytes);
797 new BigInteger(1, digest.digest()).toString(16).padLeft(32, '0') 797 new BigInteger(1, digest.digest()).toString(16).padLeft(32, '0')
798 } 798 }
799 799
800 private findSnapshotVersion() { 800 private findSnapshotVersion() {
801 logger.info "hg pull".execute() 801 println "hg pull".execute()
802 def versions = "hg branches --closed".execute().text.split('\n').findAll { 802 def versions = "hg branches --closed".execute().text.split('\n').findAll {
803 it.startsWith( 'release') || it.startsWith( 'hotfix') 803 it.startsWith( 'release') || it.startsWith( 'hotfix')
804 }.collect { 804 }.collect {
805 it.replaceAll('\\s+',' ').split(' ')[0].split('/')[1] - 'v' 805 it.replaceAll('\\s+',' ').split(' ')[0].split('/')[1] - 'v'
806 }.collect { 806 }.collect {