sbt 2.0.9
The headline features of sbt 2.0.9 are:
- AccessDeniedException fix on Windows
- Hermeticity fix for SemanticDB plugin
- Build pipelining fix backports
See also sbt 2.0 change summary for the sbt 2.0 changes in general.
Hi everyone. On behalf of the sbt project, I am happy to announce sbt 2.0.9. sbt 2.0 is a new major series of sbt, based on Scala 3 constructs and Bazel-compatible cache system. sbt 2.x is released under Semantic Versioning, and the plugins are expected to work throughout the 2.x series. Please try it out, and report any issues you might come across.
How to upgrade
The sbt version used for your build is upgraded by putting the following in project/build.properties:
sbt.version=2.0.9
This mechanism allows that sbt 2.0.9 is used only for the builds that you want.
Download the official sbt runner from SDKMAN, or download from https://github.com/sbt/sbt/releases/tag/v2.0.9 to upgrade the sbt shell script, sbtn, and the launcher.
🐛 Bug fixes
- fix: Fixes AccessDeniedException on Windows by creating JAR in situ by @eed3si9n in io#558
- fix: Fixes unhermetic
semanticdbTargetRootin the compile cache key by @christianharrington in #9711 - fix: Fixes pipelined build with Java sources by @anatoliykmetyuk in #9574
- fix: Keep macro subprojects off the pipelined classpath by @stasimus in #9719
- fix: Fixes sbt runner script not starting on openSUSE by @alexasl in #9753
- Update to sbtn 2.1.0-M1 https://github.com/sbt/sbt/pull/9755
Participation
sbt 2.0.9 is brought to you by 5 contributors. Anatolii Kmetiuk, Eugene Yokota (eed3si9n), Alexander, Christian Harrington, and Stas Shevchenko. Thanks!
Thanks to everyone who’s helped improve sbt and Zinc by using them, reporting bugs, improving our documentation, porting builds, porting plugins, and submitting and reviewing pull requests.
For anyone interested in helping sbt, there are many avenues for you to help, depending on your interest. If you’re interested, Contributing, “help wanted”, “good first issue”, and Discussions are good starting points.
FYI - Scala Days talk
I gave a talk in Scala Days 2025 about sbt 2.0 (recording, slide deck).
Donate to Scala Center
Scala Center is a non-profit center at EPFL to support education and open source.