chore(deps): bump sbt from 1.12.14 to 2.0.4 - #437
Conversation
|
Tick the box to add this pull request to the merge queue (same as
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 930efaf6ce
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -1 +1 @@ | |||
| sbt.version = 1.12.14 | |||
| sbt.version = 2.0.4 | |||
There was a problem hiding this comment.
Migrate scoped commands before adopting sbt 2
When developers run the documented formatting commands, sbt 2 no longer accepts the legacy configuration:task shell syntax, while build.sbt still defines tf and tfc using test:scalafmt and test:scalafmtCheck; consequently those aliases—and the fmt/fmtCheck aliases that invoke them—fail after this version bump. Convert these commands to slash syntax such as Test / scalafmt as part of the upgrade.
Useful? React with 👍 / 👎.
| @@ -1 +1 @@ | |||
| sbt.version = 1.12.14 | |||
| sbt.version = 2.0.4 | |||
There was a problem hiding this comment.
Upgrade or remove plugins that lack sbt 2 artifacts
With this version selected, sbt resolves plugins for the Scala 3/sbt 2 plugin axis, but the build still pins older sbt-1-only releases such as sbt-release 1.1.0 and sbt-native-packager 1.10.0 in project/plugins.sbt. Those versions do not provide the required sbt 2 artifacts, so project loading fails during plugin resolution before commands such as the CI test, formatting, or release tasks can run; upgrade every plugin to an sbt-2-compatible release or retain sbt 1.
Useful? React with 👍 / 👎.
About this PR
📦 Updates org.scala-sbt:sbt from
1.12.14to2.0.4⚠📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a
.scala-steward.conffile.Have a fantastic day writing Scala!
⚙ Adjust future updates
Add this to your
.scala-steward.conffile to ignore future updates of this dependency:Or, add this to slow down future updates of this dependency: