Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: bump sbt to 1.8.0 #241

Merged
merged 1 commit into from
Nov 15, 2022
Merged

deps: bump sbt to 1.8.0 #241

merged 1 commit into from
Nov 15, 2022

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Nov 15, 2022

We use 1.8.0 to build sbt-scalafmt, but we use pluginCrossBuild / sbtVersion
to ensure everything is still working against 1.2.8 by compiling against it.

@ckipp01 ckipp01 requested a review from tgodzik November 15, 2022 09:40
We use 1.8.0 to build sbt-scalafmt, but we use `pluginCrossBuild / sbtVersion`
to ensure everything is still working against 1.2.8 by compiling against it.
@@ -1 +1 @@
sbt.version=1.2.8
sbt.version=1.8.0
Copy link
Contributor

Choose a reason for hiding this comment

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

@ckipp01 will that mean users of this plugin will have to upgrade their sbt to this version?

Copy link
Member Author

Choose a reason for hiding this comment

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

No it doesn't. Since I'm using pluginCrossBuild / sbtVersion := "1.2.8" it ensures that it's still compiling and testing against "1.2.8" even though the build itself is managed with 1.8.0.

You can see some more details about this in https://www.scala-sbt.org/1.x/docs/Plugins.html#Creating+an+auto+plugin.

@ckipp01 ckipp01 merged commit 901771c into scalameta:master Nov 15, 2022
@ckipp01 ckipp01 deleted the sbt branch November 15, 2022 16:13
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