Skip to content

Commit

Permalink
fix(build): Fix dependency lock update task
Browse files Browse the repository at this point in the history
  • Loading branch information
PerfectSlayer committed Jul 9, 2024
1 parent 5a09529 commit 512aa1b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ tasks.register("resolveAndLockAll") {
}
doLast {
configurations.filter {
// Add any custom filtering on the configurations to be resolved
it.isCanBeResolved
// Add any custom filtering on the configurations to be resolved:
// - Should be resolvable
// - Should skip Scala related task (https://github.com/ben-manes/gradle-versions-plugin/issues/816#issuecomment-1872264880)
it.isCanBeResolved && !it.name.startsWith("incrementalScalaAnalysis")
}.forEach { it.resolve() }
}
}

0 comments on commit 512aa1b

Please sign in to comment.