-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
note from sbt team
This issue is now solved using cached resolution feature.
updateOptions := updateOptions.value.withConsolidatedResolution(true)If anyone has further issues with dependency resolution performance, please provide more context and open a new Github issue.
original report
So I have a multi-module project - dozens of modules - in which many of the modules have very similar (transitive) dependencies. Each day, sbt (v0.11.2) decides it needs to re-check all those dependencies, and it does so independently for each module. So if I have, say, 20 modules depending on slf4j, sbt appears to hit the repository 20 times to re-download exactly the same pom.xml. Multiply that by a hundred-odd dependencies and the whole process is taking a couple of minutes. Seems like some caching or up-front reconciliation would be helpful here.
Reactions are currently unavailable