Skip to content

Commit 608b88f

Browse files
committed
/DependencyLockTaskConfigurer: remove resolution rules from global locks dependency lock excludes
1 parent 6528b28 commit 608b88f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/nebula/plugin/dependencylock/DependencyLockPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class DependencyLockPlugin : Plugin<Project> {
187187

188188
private fun maybeApplyLock(conf: Configuration, extension: DependencyLockExtension, overrides: Map<*, *>, globalLockFileName: String?, lockFilename: String?) {
189189
val shouldIgnoreLock = (extension.skippedConfigurationNamesPrefixes + DependencyLockTaskConfigurer.configurationsToSkipForGlobalLockPrefixes).any {
190-
prefix -> conf.name.startsWith(prefix)
190+
prefix -> conf.name.startsWith(prefix) && !conf.name.contains("resolutionRules")
191191
}
192192
if(shouldIgnoreLock) {
193193
return

0 commit comments

Comments
 (0)