Skip to content

Commit

Permalink
Don't fail on sbt assembly task
Browse files Browse the repository at this point in the history
  • Loading branch information
mchv committed Nov 22, 2024
1 parent a8963d5 commit b6e68a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import sbtversionpolicy.withsbtrelease.ReleaseVersion
val assemblySettings = Seq(
assembly / assemblyMergeStrategy := {
case path if path.endsWith("module-info.class") => MergeStrategy.last
case PathList("META-INF", "io.netty.versions.properties") => MergeStrategy.first //see https://github.com/sbt/sbt-assembly/issues/362
case x =>
val oldStrategy = (assembly / assemblyMergeStrategy).value
oldStrategy(x)
Expand Down

0 comments on commit b6e68a4

Please sign in to comment.