且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 SBT 0.10 中声明项目依赖项?

更新时间:2022-05-23 22:37:41

我假设您使用的是 SBT 0.10.0,因为早期版本会自动将您的 deps 放在 lib_managed 中.

I presume you're using SBT 0.10.0, because earlier versions will put your deps in lib_managed automatically.

build.sbt 中,输入以下行:

In build.sbt, put the following line:

retrieveManaged := true