From 3a0a5b71338e6a9d4e73930c01aded21d3011338 Mon Sep 17 00:00:00 2001 From: Roberto Perez Alcolea Date: Wed, 15 Nov 2023 09:37:31 -0800 Subject: [PATCH] DependencyLockExtension: skippedDependencies not lazy api for backwrads compatibility --- .../plugin/dependencylock/DependencyLockExtension.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/groovy/nebula/plugin/dependencylock/DependencyLockExtension.groovy b/src/main/groovy/nebula/plugin/dependencylock/DependencyLockExtension.groovy index 1c973c2..78c4363 100644 --- a/src/main/groovy/nebula/plugin/dependencylock/DependencyLockExtension.groovy +++ b/src/main/groovy/nebula/plugin/dependencylock/DependencyLockExtension.groovy @@ -24,7 +24,6 @@ abstract class DependencyLockExtension { globalLockFile.convention('global.lock') configurationNames.convention([]) updateDependencies.convention([]) - skippedDependencies.convention([]) includeTransitives.convention(false) lockAfterEvaluating.convention(true) updateDependenciesFailOnInvalidCoordinates.convention(true) @@ -37,7 +36,6 @@ abstract class DependencyLockExtension { abstract Property getGlobalLockFile() abstract SetProperty getConfigurationNames() abstract SetProperty getUpdateDependencies() - abstract SetProperty getSkippedDependencies() abstract Property getIncludeTransitives() abstract Property getLockAfterEvaluating() abstract Property getUpdateDependenciesFailOnInvalidCoordinates() @@ -45,6 +43,8 @@ abstract class DependencyLockExtension { abstract Property getUpdateDependenciesFailOnNonSpecifiedDependenciesToUpdate() abstract SetProperty getAdditionalConfigurationsToLock() + Set skippedDependencies = [] as Set + Set skippedConfigurationNamesPrefixes = [] as Set Closure dependencyFilter = { String group, String name, String version -> true }