From 465111bdcc4a36b478736a5a381480a6a5d821b1 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 11 Aug 2024 14:08:14 +0100 Subject: [PATCH] try assembly fix - take 2 --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 24e1ef70..9076d83f 100644 --- a/build.sbt +++ b/build.sbt @@ -102,8 +102,8 @@ lazy val runtime = Project(id = "runtime", base = file("runtime")) ReflectiveCodeGen.generatedLanguages := Seq("Scala"), ReflectiveCodeGen.extraGenerators := Seq("ScalaMarshallersCodeGenerator"), PB.protocVersion := Dependencies.Versions.googleProtoc, - assemblyMergeStrategy in assembly := { - case PathList("META-INF", "versions", "9", "module-info.class") => MergeStrategy.discard + assembly / assemblyMergeStrategy := { + case PathList("META-INF", "versions", _*) => MergeStrategy.discard case _ => MergeStrategy.first }) .enablePlugins(org.apache.pekko.grpc.build.ReflectiveCodeGen)