Skip to content

Commit 6fb89f6

Browse files
committed
Cleaner lockfile location creation locks
1 parent b7b75ec commit 6fb89f6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

settings.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ gradle.lifecycle.beforeProject {p ->
2929
dependencyLocking {
3030
lockMode = LockMode.STRICT
3131
lockAllConfigurations()
32-
lockFile.set file("locks/${(p.path + ":").replace(':', ' ').trim().replace(' ', '-')}buildscript-gradle.lockfile")
32+
var cleanProjectName = (p.path + ":").replace(':', ' ').trim().replace(' ', '-')
33+
lockFile.set file("locks/${cleanProjectName}buildscript-gradle.lockfile")
3334
}
3435
}
3536
}

0 commit comments

Comments
 (0)