mirror of
https://github.com/enso-org/enso.git
synced 2024-11-26 08:52:58 +03:00
Keep only module-info.class in the root of runtime-fat-jar (#8961)
This commit is contained in:
parent
9083ebfbbc
commit
427f5b0410
@ -2018,8 +2018,10 @@ lazy val `runtime-fat-jar` =
|
||||
MergeStrategy.discard
|
||||
case PathList("META-INF", "services", xs @ _*) =>
|
||||
MergeStrategy.concat
|
||||
case PathList(xs @ _*) if xs.last.contains("module-info") =>
|
||||
case PathList("module-info.class") =>
|
||||
MergeStrategy.preferProject
|
||||
case PathList(xs @ _*) if xs.last.contains("module-info.class") =>
|
||||
MergeStrategy.discard
|
||||
case _ => MergeStrategy.first
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user