Skip to content

Upgrade sbt to 1.3.13. #4360

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

Closed
wants to merge 1 commit into from
Closed

Upgrade sbt to 1.3.13. #4360

wants to merge 1 commit into from

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Jan 6, 2021

This is the latest (and very likely last) 1.3.x version.

Recent versions of Metals cannot import builds using sbt 1.2.x anymore. The initial import fails with a LinkageError because it wants to access a setting that was added in sbt 1.3.0.

This change may make our sbt plugin incompatible with sbt 1.2.x builds, as our main source of tests for it are our own build. However, almost all the scripted tests force to use sbt 1.2.8, and should give some confidence that we aren't breaking anything.

If we do, oh well, sbt 1.2.x is a bit old anyway.

This is the latest (and very likely last) 1.3.x version.

Recent versions of Metals cannot import builds using sbt 1.2.x
anymore. The initial import fails with a LinkageError because it
wants to access a setting that was added in sbt 1.3.0.

This change may make our sbt plugin incompatible with sbt 1.2.x
builds, as our main source of tests for it are our own build.
However, almost all the scripted tests force to use sbt 1.2.8, and
should give some confidence that we aren't breaking anything.

If we do, oh well, sbt 1.2.x is a bit old anyway.
@sjrd sjrd requested a review from gzm0 January 6, 2021 13:38
@@ -638,6 +638,9 @@ object Build {
}

val thisBuildSettings = Def.settings(
// Disable sbt 1.3.x+'s supershell, because it's terribly annoying
useSuperShell := false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this something that should go in the personal/local sbt config?

@sjrd
Copy link
Member Author

sjrd commented Jan 6, 2021

Turning into draft because it seems that things are recompiled every time with that version.

@sjrd sjrd marked this pull request as draft January 6, 2021 14:24
@sjrd
Copy link
Member Author

sjrd commented Jan 7, 2021

Asking on sbt's gitter: https://gitter.im/sbt/sbt?at=5ff6e122787d8f79c8e86eba

@sjrd
Copy link
Member Author

sjrd commented Jun 25, 2021

Superseded by #4516.

@sjrd sjrd closed this Jun 25, 2021
@sjrd sjrd deleted the upgrade-sbt branch June 25, 2021 11:34
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