Skip to content

Commit d385a46

Browse files
authored
Merge pull request #31 from buildo/30-discard_moduleinfoclass_files_in
#30: Discard module-info.class files in sbt-assembly (closes #30)
2 parents b26593f + c0f4169 commit d385a46

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)