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

Migrate to scalac-options library #107

Merged
merged 6 commits into from
Jul 18, 2023
Merged

Conversation

DavidGregory084
Copy link
Member

@DavidGregory084 DavidGregory084 commented Aug 4, 2022

Migrates the plugin to use the typelevel/scalac-options library. Fixes #104.

This is not a binary compatible change.

Copy link
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

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

Nice 🚀

@DavidGregory084 DavidGregory084 marked this pull request as ready for review August 9, 2022 18:42
@DavidGregory084 DavidGregory084 force-pushed the migrate-to-scalac-options branch from 06de067 to 0b94465 Compare August 9, 2022 18:44
@DavidGregory084
Copy link
Member Author

I think this is good to go, but I'd like to get a fix for #102 out on 0.4.x before merging

@laughedelic
Copy link

I'd like to get a fix for #102 out on 0.4.x before merging

I think it happened. Is this unblocked now?

@mihaisoloi
Copy link
Contributor

@DavidGregory084 what's the status on this? seems fine to be merged

@DavidGregory084
Copy link
Member Author

Hey @laughedelic, @mihaisoloi you're right - this should have been merged. I will try to resynchronise scalac-options and sbt-tpolecat next week so that we can merge this.

@DavidGregory084 DavidGregory084 force-pushed the migrate-to-scalac-options branch from 0b94465 to 31807e9 Compare July 18, 2023 16:35
@@ -84,6 +84,7 @@ val Scala212Options =
"-Xlint:by-name-right-associative",
"-Xlint:constant",
"-Xlint:delayedinit-select",
"-Xlint:deprecation",
Copy link
Member Author

Choose a reason for hiding this comment

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

Backported to Scala 2.12.13 in scala/scala#9248

@@ -111,6 +112,7 @@ val Scala212Options =
"-Ywarn-unused:params",
"-Ywarn-unused:patvars",
"-Ywarn-unused:privates",
"-Ywarn-unused:nowarn",
Copy link
Member Author

Choose a reason for hiding this comment

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

Also backported in scala/scala#9248

@DavidGregory084
Copy link
Member Author

This is good to go. Unfortunately we're just waiting for Maven Central sync on scalac-options 0.1.3!

@DavidGregory084 DavidGregory084 merged commit 1646145 into main Jul 18, 2023
@TonioGela TonioGela deleted the migrate-to-scalac-options branch February 21, 2024 09:47
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.

Extract settings DSL into a library
4 participants