is is possible to execute such command in sbt to download all jar dependencies (needed for assembly
task without build actual target jar? I would like to fullfill local cache (I mean ~/.sbt
, ~/.m2
and so on directories). Is there exist such command or way to do it?
Asked
Active
Viewed 422 times
1

IntrestedInSpark
- 115
- 1
- 7
-
take a look to all the available plugins https://www.scala-sbt.org/release/docs/Community-Plugins.html – Emiliano Martinez Aug 17 '21 at 10:29
-
What is name of this plugin? – IntrestedInSpark Aug 17 '21 at 11:04
-
Try https://github.com/xerial/sbt-pack – Emiliano Martinez Aug 17 '21 at 11:17
-
1This sounds like `sbt update`. – Levi Ramsey Aug 17 '21 at 11:18
-
1duplicate of [How to ask sbt to only fetch dependencies, without compiling?](https://stackoverflow.com/questions/34807674/how-to-ask-sbt-to-only-fetch-dependencies-without-compiling) – Seth Tisue Aug 17 '21 at 22:14
1 Answers
2
The sbt update
task does this. This is listed in the sbt Command Line Reference, under Project-level Tasks.

Tim Moore
- 8,958
- 2
- 23
- 34