Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将 sbt 与 IntelliJ Idea 一起使用。当 sbt 0.13.8 刷新项目时,它会在 src/main -> 'scala' 和 'scala-2.11' 下创建两个 scala 源目录
我的 Scala 版本是 2.11.6
如果我将 sbt 版本更改为 0.13.5,则刷新只会创建一个目录 -> src/main/scala。
为什么 0.13.8 会创建两个目录?
sbt 在 0.13.8 中具有跨版本源代码支持。所以这就是为什么当你要求它创建空源时,它会创建这些目录。
https://github.com/sbt/sbt/releases