changeset 330:70ea30cbe883

update locking strat for git specific gradle script.
author Marc Davis <davis@ssdt-ohio.org>
date Fri, 03 Mar 2023 22:02:56 -0500
parents 729ee03ee479
children 7bc7c6c79d7c
files init70-git.gradle
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/init70-git.gradle	Thu Mar 02 13:04:47 2023 -0500
+++ b/init70-git.gradle	Fri Mar 03 22:02:56 2023 -0500
@@ -273,17 +273,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()
             }
         }