sbt-assembly
sbt-assembly copied to clipboard
assemblyMergeStrategy case PathList("META-INF", xs @ _*) scala 3 deprecation warning
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
....
}