how do I get sbt to gather all the jar files my code depends on into one place?

后端 未结 7 796
栀梦
栀梦 2020-12-24 12:47

I\'m new to sbt. I want it to put all the dependency jar files as well as my jar file into one place. SBT will run the app, but I\'ve got various dependencies s

7条回答
  •  离开以前
    2020-12-24 13:18

    Add the following line to your build.sbt file.

    retrieveManaged := true
    

    This will gather the dependencies locally

提交回复
热议问题