Mercurial > public > develkit
changeset 314:ce218dfe0b6d
merge in default
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Tue, 07 Feb 2023 14:51:10 -0500 |
parents | 69213629de0f (diff) 0a6b93585fbf (current diff) |
children | 7a36ea2cb81a |
files | |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/init70.gradle Wed Feb 01 13:13:29 2023 -0500 +++ b/init70.gradle Tue Feb 07 14:51:10 2023 -0500 @@ -274,17 +274,13 @@ assert gradle.startParameter.writeDependencyLocks : "must include --write-locks or --update-locks option when locking dependencies" } doLast { - if (!gradle.branch.isRelease()) { throw new BuildCancelledException("releaseLock is only valid on release or hotfix branch.") } - configurations.findAll { it.canBeResolved - }.findAll { c -> - def n = c.name.toLowerCase() - ['compile','runtime','provided'].any { n.contains(it) } - }.each { + } + .each { it.resolve() } }