【发布时间】:2015-10-24 19:08:45
【问题描述】:
我正在尝试使用 sbt 程序集插件来编译我的 scala 代码。当我将它打包到 snapshot.jar 时,它运行良好。但是当我尝试添加程序集插件并将其编译到 assembly.jar 时,我遇到了问题。谁能帮帮我?
tong@tong-VirtualBox:/usr/local/jars/hello/hello$ sbt package
[info] Set current project to hello (in build file:/usr/local/jars/hello/hello/)
[info] Packaging /usr/local/jars/hello/hello/target/scala-2.10/hello_2.10-0.1-SNAPSHOT.jar ...
[info] Done packaging.
[success] Total time: 1 s, completed Oct 23, 2015 10:02:52 AM
sbt-assembly 我明白了
tong@tong-VirtualBox:/usr/local/jars/hello/hello$ addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0")
bash: syntax error near unexpected token `"com.eed3si9n"'
【问题讨论】:
标签: scala sbt sbt-assembly