Working on a Scala project and figuring out how to get SBT to download sources and docs for all dependencies?
It took a while to figure out but this is what works for SBT 0.10 or higher:
sbt update-classifiers
For my Scala projects, I return to using an IDE — IntelliJ IDEA Community (Ultimate is a bit bloated and slow for my liking). The SBT-Idea project links dependencies, sources and docs to your IDEA project with this command:
sbt gen-idea
Make sure you’ve included SBT Idea as a plugin: https://github.com/mpeltonen/sbt-idea