comparison init.gradle @ 158:01c8e1e27d97

add filter to ivy pattern
author Dave Smith <smith@nwoca.org>
date Fri, 01 Nov 2013 17:41:12 +0100
parents bf82d6ce853d
children 0c48cfd1938b
comparison
equal deleted inserted replaced
157:bf82d6ce853d 158:01c8e1e27d97
255 name = 'ssdt-branches' 255 name = 'ssdt-branches'
256 m2compatible = false 256 m2compatible = false
257 def url = "${ssdtArtifactory}/ssdt-branches" 257 def url = "${ssdtArtifactory}/ssdt-branches"
258 def filter = ";ssdt-branch.branchName+=${gradle.branchName.replaceAll('/','-')}" 258 def filter = ";ssdt-branch.branchName+=${gradle.branchName.replaceAll('/','-')}"
259 addArtifactPattern("${url}/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]${filter}") 259 addArtifactPattern("${url}/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]${filter}")
260 addIvyPattern("${url}/[organization]/[module]/ivy-[revision].xml") 260 addIvyPattern("${url}${filter}/[organization]/[module]/ivy-[revision].xml")
261 checkmodified = true 261 checkmodified = true
262 changingMatcher = 'regexp' 262 changingMatcher = 'regexp'
263 changingPattern = /\d{14}/ 263 changingPattern = /\d{14}/
264 } 264 }
265 } 265 }