Skip to content

Commit

Permalink
fix assembly config (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierJia authored Nov 17, 2016
1 parent 741edb3 commit a2c872e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project/commons.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ object Commons {
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = true),
assemblyMergeStrategy in assembly := {
case PathList("org", "apache", "commons", "logging", xs@_*) => MergeStrategy.first
case PathList("org", "apache", "commons", xs @_ *) => MergeStrategy.first
case "META-INF/io.netty.versions.properties" => MergeStrategy.last
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
Expand Down

0 comments on commit a2c872e

Please sign in to comment.