I'm new at scala and sbt so my question may sound silly. So I have complex play/scala project. Compilation can take 15-25mins (I'm running only one sbt instance).
I've used this https://github.com/jrudolph/sbt-optimizer plugin to recognize the root of the issue.
I found that ivy lock takes lots of time:
So I've googled about ivy and found some info about ivy locks. Then I found similar issues at SO How to configure Ivy's lock strategy in Sbt but this doesn't help me (build time is the same).
So I want to speed up project build time, so I suppose I need some how change ivy lock strategy. How I can do this?
Or maybe you have some ideas how to speed up build?
You can use the coursier plugin. It removes the ivy lock and can download your artifacts in parallel.