changeset 157:bf82d6ce853d

update to handle branch names for ivy files
author Dave Smith <smith@nwoca.org>
date Tue, 29 Oct 2013 18:25:29 +0100
parents 465c6cf6dff3
children 01c8e1e27d97
files init.gradle
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/init.gradle	Tue Oct 29 01:25:34 2013 +0100
+++ b/init.gradle	Tue Oct 29 18:25:29 2013 +0100
@@ -255,9 +255,9 @@
 						name = 'ssdt-branches'
 						m2compatible =  false
 						def url = "${ssdtArtifactory}/ssdt-branches"
-						def filter = ";ssdt-branch.branchName+=${gradle.branchName}"
+						def filter = ";ssdt-branch.branchName+=${gradle.branchName.replaceAll('/','-')}"
 						addArtifactPattern("${url}/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]${filter}")
-						addIvyPattern("${url}/[organization]/[module]/ivy-[revision].xml;${filter}")
+						addIvyPattern("${url}/[organization]/[module]/ivy-[revision].xml")
 						checkmodified = true
 						changingMatcher = 'regexp'
 						changingPattern = /\d{14}/