Scala 中是否有任何类似 Ruby bundler 的东西?
Are there any analog of Ruby bundler in Scala?
我认为 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-071SBT is the 'scala' built tool if you will, it helps a lot managing scala projects: https://github.com/harrah/xsbt/wiki
留意 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.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
我认为 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
留意 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.