Verified Commit 914e8b6a authored by 35V LG84's avatar 35V LG84
Browse files

Fix org/bouncycastle/**/module-info.class



Path has changed to: META-INF/versions/9/module-info.class
Signed-off-by: 35V LG84's avatar35V LG84 <35vlg84-x4e6b92@e257.fi>
parent 87dec3a5
......@@ -178,9 +178,10 @@ lazy val cli = (project in file("cli")).
assembly / test := {},
assembly / assemblyJarName := "tackler-cli" + "-" + version.value + ".jar",
assembly / assemblyMergeStrategy := {
// Fix module-info.class with JDK 8 vs. JDK 11,
// it's not needed, this is app, not lib
case "module-info.class" => MergeStrategy.discard
// Fix (e.g. discard) module-info.class with JDK 8 vs. JDK 11,
// it's not needed, this is an app, not lib
// Bouncycastle files are living nowdays under META-INF/versions/9, hence endsWith
case x if x.endsWith("/module-info.class") => MergeStrategy.discard
case x =>
val oldStrategy = (assembly / assemblyMergeStrategy).value
oldStrategy(x)
......
Markdown is supported
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