# HG changeset patch # User Marc Davis # Date 1675799470 18000 # Node ID ce218dfe0b6df9e4147049f1f144565311f6b95e # Parent 69213629de0f10d287ac309207b039205869c54a# Parent 0a6b93585fbf4067e9e43ed1291b04e305cdbb6b merge in default diff -r 0a6b93585fbf -r ce218dfe0b6d init70.gradle --- 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() } }