Collecting dependencies under sbt 0.10 (putting all dependency jars to target/scala-version/lib/)

前端 未结 3 1199
慢半拍i
慢半拍i 2021-02-09 00:19

I\'m using sbt 0.10 with Scala 2.9.1.

I\'ve read http://groups.google.com/group/simple-build-tool/browse_thread/thread/792e5360877e78/987b6af687b8e33b?lnk=gst&q=coll

3条回答
  •  孤街浪徒
    2021-02-09 01:06

    The various "Classpath" keys contain different views onto the classpath, but probably the easiest thing is to modify the sbt-assembly plugin to simply drop the jars into a directory instead of doing the unzip/rezip cycle. The plugin is very small (only 150 lines) and it's pretty obvious from a cursory glance what the right place to change is.

提交回复
热议问题