diff init70.gradle @ 313:69213629de0f

update releaselock process to lock all gradle configurations.
author Marc Davis <marc.davis@mcoecn.org>
date Tue, 07 Feb 2023 14:50:26 -0500
parents 95d4eb5bff0f
children de8c350c511a
line wrap: on
line diff
--- a/init70.gradle	Thu Dec 22 14:39:22 2022 -0500
+++ b/init70.gradle	Tue Feb 07 14:50:26 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()
             }
         }