Skip to content

Build sbt 2 plugin with Scala 3.9 LTS and sbt 2.1 - #589

Merged
eed3si9n merged 1 commit into
sbt:developfrom
mkurz:sbt2cross-update
Nov 18, 2026
Merged

eed3si9n merged 1 commit into
sbt:developfrom
mkurz:sbt2cross-update

Conversation

@mkurz

@mkurz mkurz commented Nov 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Build the sbt 2 plugin lane with Scala 3.9.0 LTS and declare sbt 2.1.0 as its minimum.
  • Make compiler and plugin sbt compatibility versions explicit; retain the sbt 1 lane and unrelated library baselines.
  • Align relevant CI/scripted settings, preserve Java 17 publishing, and check Dependabot. No Scala Steward pins are added.

The Scala 3.9-built plugin requires sbt 2.1 or newer; the sbt 1 artifact remains separately cross-built.

Verification

  • sbt -batch "++3.9.0" "set Compile / scalacOptions := (Compile / scalacOptions).value.filterNot(o => o.startsWith(\"-Wconf:\") || Set(\"-Werror\", \"-Xfatal-warnings\", \"-Wwarning\").contains(o)) ++ Seq(\"-rewrite\", \"-source\", \"3.8-migration\")" "clean" "compile": passed.
  • sbt -batch "+compile" "+test" "++2.12.21" "scripted" "++3.9.0" "scripted": passed.

References

@eed3si9n eed3si9n left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n
eed3si9n merged commit 4abbc3f into sbt:develop Nov 18, 2026
8 checks passed
@mkurz
mkurz deleted the sbt2cross-update branch November 18, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants