类似于 Scala 中的 Ruby 捆绑器

发布于 2024-12-09 13:06:27 字数 91 浏览 1 评论 0原文

Scala 中是否有任何类似 Ruby bundler 的东西?

Are there any analog of Ruby bundler in Scala?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夏尔 2024-12-16 13:06:28

我认为 SBT 程序集就是您正在寻找的它将创建一个可以“独立”使用的 jar 文件:
http://implicit.ly/sbt- assembly-071
如果您愿意的话,SBT 是“scala”构建工具,它对管理 scala 项目有很大帮助:https://github .com/harrah/xsbt/wiki

I think SBT assembly is what you are looking for it will create a single jar file which can be used 'standalone' :
http://implicit.ly/sbt-assembly-071
SBT is the 'scala' built tool if you will, it helps a lot managing scala projects: https://github.com/harrah/xsbt/wiki

岁月染过的梦 2024-12-16 13:06:28

留意 proguard

我不知道你的 Ruby 打包程序,但 proguard 能够将存档仅保留所需的类。非常有趣,易于使用。

Look out for proguard.

I don't know your Ruby bundler, but proguard is able to strip down the archive to the needed classes only. Very interesting, easy to use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文