only lock compile & runtime classpaths in buildSrc
This commit is contained in:
parent
a4e919a75f
commit
60feafa3f9
2 changed files with 71 additions and 81 deletions
|
@ -13,5 +13,11 @@ dependencies {
|
|||
|
||||
dependencyLocking {
|
||||
lockMode.set(LockMode.STRICT)
|
||||
lockAllConfigurations()
|
||||
}
|
||||
|
||||
configurations {
|
||||
// only lock compile & runtime to prevent error:
|
||||
// Locking strict mode: Configuration ':buildSrc:testCompileClasspath' is locked but does not have lock state.
|
||||
compileClasspath { resolutionStrategy.activateDependencyLocking() }
|
||||
runtimeClasspath { resolutionStrategy.activateDependencyLocking() }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue