SBT reloads dependencies every time

when I open sbt and run the project, it reloads the dependencies, for example:

[info] Updating {file:/home/maciej/workspace/Job/test/}test-common...
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.3 ...
[info] Updating {file:/home/maciej/workspace/Job/test/}Messaging...
[info] Resolving jline#jline;2.12 ...
[info] Done updating.
[info] Resolving jline#jline;2.12 ...

and when I open intellij, it does the same, and after doing this in intellij, if I run the sbt project again, it will reload these dependencies again.

This is really unpleasant. Does anyone have an idea? Thanks

+4
source share
1 answer

0.13.7 has an experimental feature called Cached Resolution that can help you. Try to point sbt.version=0.13.7toproject/build.properties

+1
source

All Articles