【发布时间】:2016-11-26 11:54:02
【问题描述】:
我有 scala 项目,我在 sbt 中使用“程序集”命令制作 jar。 我有两个 application.conf 文件,一个在 scala/main 中,一个在 scala/test 文件夹中。
构建 jar 包含来自测试文件夹的 application.conf 文件,这是我不想要的。我希望 jar 包含来自 scala/main 文件夹的 application.conf 文件。
如何使用 assemble 命令将该文件包含在生成的 jar 中。请建议。
【问题讨论】: