Mercurial > public > develkit
diff init20.gradle @ 216:b628d49d2891
DEP-11: change name of lock file for release branch. update release script to depend on new resolution and dependency locking
author | smith@nwoca.org |
---|---|
date | Wed, 29 Jun 2016 13:57:17 +0100 |
parents | 5bebb590b30e |
children | efa545c6dd65 |
line wrap: on
line diff
--- a/init20.gradle Tue Jun 28 23:01:21 2016 +0100 +++ b/init20.gradle Wed Jun 29 13:57:17 2016 +0100 @@ -227,7 +227,11 @@ allprojects { apply plugin: nebula.plugin.dependencylock.DependencyLockPlugin - + + dependencyLock { + globalLockFile = gradle.branch.isRelease() ? 'release.lock' : 'global.lock' + } + configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> if (details.requested.group == 'org.ssdt_ohio' && !details.requested.version ) { @@ -506,6 +510,8 @@ environment.put('deploy.mode', developerPrivate['deploy.mode']) } + environment.put('branchInfo',gradle.branch) + environment.put('branchVersion',gradle.branch.version.toString()) def environments = [] gradle.ext.environment = environment file('.').listFiles().findAll { it.name ==~ /^environment.*\.groovy$/ }.sort { it.name }.each { envFile ->