Making stand-alone jar with Simple Build Tool

前端 未结 5 864
日久生厌
日久生厌 2020-12-07 19:21

Is there a way to tell sbt to package all needed libraries (scala-library.jar) into the main package, so it is stand-alone? (static?)

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-07 19:48

    Working off of what @retronym offered above, I built a simple example that builds a stand alone jar which includes the Scala libraries (i.e. scala-library.jar) using Proguard with sbt. Thanks, retronym.

提交回复
热议问题