comparison init20.gradle @ 182:0de8c0720fb4

treat hotfix as release status
author smith@nwoca.org
date Fri, 19 Dec 2014 20:25:12 +0000
parents d90208c97ec5
children 358fdd20674a
comparison
equal deleted inserted replaced
181:d90208c97ec5 182:0de8c0720fb4
316 fixupVersion = fixupVersion + ".SNAPSHOT" 316 fixupVersion = fixupVersion + ".SNAPSHOT"
317 } 317 }
318 if (gradle.branchStream == 'develop') { 318 if (gradle.branchStream == 'develop') {
319 fixupVersion = fixupVersion + ".SNAPSHOT" 319 fixupVersion = fixupVersion + ".SNAPSHOT"
320 } 320 }
321 if (gradle.branchStream in ['production', 'release']) { 321 if (gradle.branchStream in ['production', 'release','hotfix']) {
322 thisProject. 322 thisProject.status = 'release'
323 status = 'release' 323 }
324 } 324 thisProject.version = fixupVersion
325 thisProject
326 .version = fixupVersion
327 } 325 }
328 326
329 configurations.all { 327 configurations.all {
330 resolutionStrategy.cacheChangingModulesFor 60 * 60 * 8, 'seconds' 328 resolutionStrategy.cacheChangingModulesFor 60 * 60 * 8, 'seconds'
331 resolutionStrategy.cacheDynamicVersionsFor 60 * 60 * 8, 'seconds' 329 resolutionStrategy.cacheDynamicVersionsFor 60 * 60 * 8, 'seconds'