scala - Include Dependencies in JAR using SBT package -
apparently project dependencies not being packaged jar generated by:
sbt package
how can dependencies included?
there's project called onejar package project , dependencies single jar file. there sbt plugin well:
https://github.com/sbt/sbt-onejar
however if you're looking create standard package (deb, rpm, etc.) there sbt-native-packager:
https://github.com/sbt/sbt-native-packager
it can place dependencies linux package , add appropriate wrappers load dependencies , start program or service.
Comments
Post a Comment