comparison init20.gradle @ 262:e531b09c4659

add mavenLocal() for local builds
author smith@nwoca.org
date Wed, 07 Nov 2018 19:04:57 +0000
parents b7b65152446e
children f1f4ec4633ca
comparison
equal deleted inserted replaced
261:b7b65152446e 262:e531b09c4659
198 if (project.hasProperty("overrideUspsCore")) { 198 if (project.hasProperty("overrideUspsCore")) {
199 if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('usps.') && !details.requested.name.startsWith('usps.vui')) { 199 if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('usps.') && !details.requested.name.startsWith('usps.vui')) {
200 details.useVersion(project.overrideUspsCore) 200 details.useVersion(project.overrideUspsCore)
201 } 201 }
202 } 202 }
203
204 resolutionStrategy.force 'xml-apis:xml-apis:1.4.01'
203 } 205 }
204 } 206 }
205 207
206 task cleanLocal(description: "removes all artifacts from developer's local repository") { 208 task cleanLocal(description: "removes all artifacts from developer's local repository") {
207 209
480 ivy { 482 ivy {
481 name = 'local' 483 name = 'local'
482 artifactPattern gradle.ivyUserDir + '/local/[artifact]-[revision](-[classifier]).[ext]' 484 artifactPattern gradle.ivyUserDir + '/local/[artifact]-[revision](-[classifier]).[ext]'
483 ivyPattern gradle.ivyUserDir + "/local/[module]-ivy-[revision].xml" 485 ivyPattern gradle.ivyUserDir + "/local/[module]-ivy-[revision].xml"
484 } 486 }
487 mavenLocal()
485 } 488 }
486 489
487 if (gradle.branchStream == 'feature') { 490 if (gradle.branchStream == 'feature') {
488 ivy { 491 ivy {
489 name = 'ssdt-branches' 492 name = 'ssdt-branches'