Skip to content

Commit

Permalink
Merge pull request #7298 from DataDog/bbujon/fix-dependency-locking
Browse files Browse the repository at this point in the history
Fix dependency lock update task
  • Loading branch information
PerfectSlayer committed Jul 10, 2024
2 parents 8629967 + 512aa1b commit 120b584
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 120b584

Please sign in to comment.