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

Add Scala 3.2.0 #107

Merged
merged 2 commits into from
Sep 6, 2022
Merged

Add Scala 3.2.0 #107

merged 2 commits into from
Sep 6, 2022

Conversation

keynmol
Copy link
Contributor

@keynmol keynmol commented Sep 6, 2022

Hopefully this works

I went ahead and made the unmanaged sources logic dumber - perhaps it will be enough for now?

@@ -89,7 +89,8 @@ val plugin = project.settings(
Compile / unmanagedSourceDirectories ++= {
val extraDirectoriesWithPredicates = Map[String, String => Boolean](
("scala-3.0.x", (_.startsWith("3.0"))),
("scala-3.1.0+", (v => v.startsWith("3") && !v.startsWith("3.0")))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

my motivation was that it's impossible for both to be true :P

Copy link
Member

Choose a reason for hiding this comment

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

As far as I can see this would've matched on any 3.x version where x isn't 0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh right, I can't read - I was commenting on the broken version I myself have authored prior to this..

@kubukoz kubukoz merged commit 2ab98e6 into polyvariant:main Sep 6, 2022
@keynmol keynmol deleted the scala-3.2.0 branch September 6, 2022 14:28
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