changeset 165:0975c343fafe

change property filter for ivy.xml
author Dave Smith <smith@nwoca.org>
date Thu, 16 Jan 2014 20:07:52 +0000
parents 7474ff33a1ba
children 9947c2c8ff44
files init.gradle
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/init.gradle	Thu Jan 16 18:51:28 2014 +0000
+++ b/init.gradle	Thu Jan 16 20:07:52 2014 +0000
@@ -275,9 +275,10 @@
 						name = 'ssdt-branches'
 						m2compatible =  false
 						def url = "${ssdtArtifactory}/ssdt-branches"
-						def filter = URLEncoder.encode(";ssdt-branch.branchName+=${gradle.branchName.replaceAll('/','-')}")
-						addArtifactPattern("${url}/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]${filter}")
-						addIvyPattern("${url}${filter}/[organization]/[module]/ivy-[revision].xml")
+						def filter1 = ";ssdt-branch.branchName+=${gradle.branchName.replaceAll('/','-')}"
+						def filter2 = ";ssdt-branch.branchName=${gradle.branchName.replaceAll('/','-')}"
+						addArtifactPattern("${url}/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]${filter1}")
+						addIvyPattern("${url}/[organization]/[module]/ivy-[revision].xml")
 						checkmodified = true
 						changingMatcher = 'regexp'
 						changingPattern = /\d{14}/