Skip to content

chore(deps): bump sbt from 1.12.14 to 2.0.4 - #437

Open
rechemendia wants to merge 1 commit into
mainfrom
update/sbt-2.0.4
Open

chore(deps): bump sbt from 1.12.14 to 2.0.4#437
rechemendia wants to merge 1 commit into
mainfrom
update/sbt-2.0.4

Conversation

@rechemendia

Copy link
Copy Markdown
Owner

About this PR

📦 Updates org.scala-sbt:sbt from 1.12.14 to 2.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.conf file.

Have a fantastic day writing Scala!

⚙ Adjust future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]
labels: library-update, early-semver-major, semver-spec-major, version-scheme:early-semver, commit-count:1

@mergify

mergify Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread project/build.properties
@@ -1 +1 @@
sbt.version = 1.12.14
sbt.version = 2.0.4

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

Comment thread project/build.properties
@@ -1 +1 @@
sbt.version = 1.12.14
sbt.version = 2.0.4

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants