fix assembly build error

This commit is contained in:
A.C.Sukazyo Eyre 2024-05-09 18:51:34 +08:00
parent 41da55f1ef
commit 254ec2a5a1
Signed by: Eyre_S
GPG Key ID: C17CE40291207874

View File

@ -74,6 +74,7 @@ lazy val root = (project in file("."))
assemblyMergeStrategy := { assemblyMergeStrategy := {
case module if module endsWith "module-info.class" => MergeStrategy.concat case module if module endsWith "module-info.class" => MergeStrategy.concat
case module_kt if module_kt endsWith ".kotlin_module" => MergeStrategy.concat case module_kt if module_kt endsWith ".kotlin_module" => MergeStrategy.concat
case version if (version startsWith "META-INF") && (version endsWith ".versions.properties") => MergeStrategy.concat
case x => case x =>
val oldStrategy = (ThisBuild / assemblyMergeStrategy).value val oldStrategy = (ThisBuild / assemblyMergeStrategy).value
oldStrategy(x) oldStrategy(x)