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

Make all older Scala versions work #474

Merged
merged 1 commit into from
Mar 26, 2021
Merged

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Mar 26, 2021

Previously, we cross published 2.12.13 and for older versions we used 2.12.12 due to changes to compiler API. This however did not work for the sbt plugin, which had the coursier resolve a wrong version for a transitive dependency. Now, we are using a more base reporting API, which should work for both 2.12.12- and 2.12.13+ versions. I previously haven't noticed that this is possible.

The couriser issue is coursier/coursier#1950

The changes were introduced in #447

@tgodzik tgodzik force-pushed the fix-legacy branch 2 times, most recently from 7522400 to 0acd66c Compare March 26, 2021 16:59
Previously, we cross published 2.12.13 and for older versions we used 2.12.12 due to changes to compiler API. This however did not work for the sbt plugin, which had the coursier resolve a wrong version for a transitive dependency. Now, we are using a more base reporting API, which should work for both 2.12.12- and 2.12.13+ versions. I previously haven't noticed that this is possible.

The couriser issue is coursier/coursier#1950
@tgodzik tgodzik marked this pull request as ready for review March 26, 2021 17:06
Copy link
Member

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

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

LGTM this is great news!

@tgodzik tgodzik merged commit 4f9c2b1 into scalameta:master Mar 26, 2021
@tgodzik tgodzik deleted the fix-legacy branch March 26, 2021 17:53
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