Skip to content

Commit

Permalink
Fix assembly configuration (previously broken by Spark deps)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguno committed Oct 16, 2014
1 parent 045e492 commit 7f1eba2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assembly.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ run in Compile <<= Defaults.runTask(fullClasspath in Compile, mainClass in (Comp
mergeStrategy in assembly <<= (mergeStrategy in assembly) {
(old) => {
case s if s.endsWith(".class") => MergeStrategy.last
case s if s.endsWith(".default") => MergeStrategy.last
case s if s.endsWith(".map") => MergeStrategy.last
case s if s.endsWith(".providers") => MergeStrategy.last
case s if s.endsWith(".properties") => MergeStrategy.last
case s if s.endsWith(".RSA") => MergeStrategy.last
case s if s.endsWith("mailcap") => MergeStrategy.last
case x => old(x)
}
}
Expand Down

0 comments on commit 7f1eba2

Please sign in to comment.