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

assemblyMergeStrategy case PathList("META-INF", xs @ _*) scala 3 deprecation warning #526

Open
colinbes opened this issue Jun 13, 2024 · 0 comments

Comments

@colinbes
Copy link

I am busy preparing projects to use Scala 3. The projects use sbt-assembly (2.2.0) to create Uber Jar.

In order to prepare for change to Scala 3 I have enabled -XSource:3 to show warnings of potential issues.

I am getting warning Scala 2 syntax with -Xsource:3 for xs @ _* and am unsure of what the fix would be.

ThisBuild / assemblyMergeStrategy := {
      case PathList("META-INF", xs @ _*)               => MergeStrategy.discard
      ....
}
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

No branches or pull requests

1 participant