We've got a multi-project sbt project with ~10 subprojects, with many common dependencies.
Whenever we tweak the top-level build.sbt and click the "refresh project" link that pops up (we don't use auto-import), it takes several minutes refreshing all the subprojects' dependencies, even though most of them are shared. Similarly if we click the "refresh all projects" button on the sbt window.
If we use sbt interactively though, reloading and updating (via "reload" and "update" commands) take only a few seconds.
We're using sbt 0.13.9 (earlier versions were equally slow) and are using these suggested settings in the build.sbt which don't help (much) within Intellij:
aggregate in update := false
updateOptions := updateOptions.value.withCachedResolution(true)
What sbt commands is Intellij running when refreshing projects?
Are there any Intellij config. settings or other ways to speed this up?