From ee62500b4f4e480e262d0fc6315ed55c2fa60e59 Mon Sep 17 00:00:00 2001 From: Mariot Chauvin Date: Tue, 19 Nov 2024 20:04:24 +0000 Subject: [PATCH] Don't fail on sbt assembly task --- build.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sbt b/build.sbt index 3e59543..03c830a 100644 --- a/build.sbt +++ b/build.sbt @@ -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)