5

I have a .sbt file with 4 projects. They all share many dependencies. When I Refresh SBT in Idea, it seems to resolve all dependencies over and over again, even if they have been previously resolved in other projects.

Is there any way to prevent this?

mirosval
  • 6,671
  • 3
  • 32
  • 46

1 Answers1

7

There's cached resolution:

The intended performance improvement is that the second and third subprojects can take advantage of the resolved minigraphs from the first one and avoid duplicated work.

Try it with setting:

updateOptions := updateOptions.value.withCachedResolution(true)
Eugene Yokota
  • 94,654
  • 45
  • 215
  • 319