Skip to content

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

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

eed3si9n merged 1 commit into
sbt:mainfrom
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.

Local verification uses a separate full checkout because the existing JGit dependency does not recognize linked worktrees. Original checkout is untouched. The allow-hashes golden fixture explicitly uses the classic target archive path on both lanes; keep the complete workflow check and hash-preserving update comparison unchanged.

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

Verification

  • sbt -batch "set every scriptedParallelInstances := 1" "githubWorkflowGenerate": passed on Java 17.
  • sbt -batch "set every scriptedParallelInstances := 1" "++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 on Java 17.
  • sbt -batch "set every scriptedParallelInstances := 1" "+compile" "+test" "++2.12.21" "scripted" "++3.9.0" "scripted" "githubWorkflowCheck": passed on Java 17.

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 5559974 into sbt:main Nov 18, 2026
13 checks passed
@mkurz
mkurz deleted the sbt2cross-update branch November 18, 2026 10:51
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