sbt 之书 (草稿)
这是关于 sbt 2.x 的草稿文档,目前尚未发布。虽然总体概念可以应用到 sbt 1.x,但 2.x 及本文档的详细内容可能会有所变动。
sbt is a simple build tool for Scala and Java. sbt downloads your library dependencies via Coursier, incrementally compiles and tests your projects, integrates with IDEs like IntelliJ and VS Code, makes JAR packages, and publishes them to the Central Repo, JVM community's package registry.
scalaVersion := "3.7.2"
你只需要在 build.sbt 中添加一行代码即可开始使用 Scala。
Links
- The source for this documentation is hosted at sbt/website
- The documentation for sbt 1.x is available