Verified Commit fd6836c7 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

apply customised merge strategies

parent 410c1b16
......@@ -15,6 +15,13 @@ lazy val root = (project in file("."))
name := "fedora-media-extractor",
assemblyJarName in assembly := "app.jar",
test in assembly := {},
assemblyMergeStrategy in assembly := {
case "log4j.properties" => MergeStrategy.first
case "module-info.class" => MergeStrategy.discard
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
},
mainClass in assembly := Some("org.memobase.App"),
resolvers ++= Seq(
"Memobase Utils" at "https://dl.bintray.com/jonas-waeber/memobase"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment