Is that possible to build jar with dependencies using sbt ? #7544
Closed
andrey-shishkin
started this conversation in
General
Replies: 1 comment 1 reply
-
The answer is in the question. You need to use the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there.
Couldn't find the answer in the internet, so I'm asking it here.
Most of the posts suggest to use
assembly plugin
, but I'm curious is there a way to build jar with dependencies using sbt to be able to run it usingjava -jar
command ?I've tried to use
sbt package
, but it builds thin jar which is impossible to run usingjava -jar
commandBeta Was this translation helpful? Give feedback.
All reactions