Skip to content

Commit c0f4169

Browse files
committed
Discard module-info.class files
1 parent b26593f commit c0f4169

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: sbt-buildo/src/main/scala/buildo/AssemblySettingPlugin.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ object AssemblySettingPlugin extends AutoPlugin {
1616
assemblyJarName in assembly := s"${name.value}.jar",
1717
assemblyMergeStrategy in assembly := {
1818
case PathList("application.conf") => MergeStrategy.discard
19+
case "module-info.class" => MergeStrategy.discard
1920
case x =>
2021
val defaultStrategy = (assemblyMergeStrategy in assembly).value
2122
defaultStrategy(x)
22-
}
23+
},
2324
)
2425
}

0 commit comments

Comments
 (0)