mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-26 20:43:14 -05:00
update assembly merge strategy to use latest conventinon
Signed-off-by: hrj <harshad.rj@gmail.com>
This commit is contained in:
parent
700bd2d910
commit
4988e2e856
@ -29,10 +29,11 @@ assembly / mainClass := Some("lc.LCFramework")
|
||||
Compile / run / mainClass := Some("lc.LCFramework")
|
||||
assembly / assemblyJarName := "LibreCaptcha.jar"
|
||||
|
||||
assembly / assemblyMergeStrategy := {
|
||||
ThisBuild / assemblyMergeStrategy := {
|
||||
case PathList("module-info.class") => MergeStrategy.discard
|
||||
case x if x.endsWith("/module-info.class") => MergeStrategy.discard
|
||||
case x =>
|
||||
val oldStrategy = (assembly / assemblyMergeStrategy).value
|
||||
val oldStrategy = (ThisBuild / assemblyMergeStrategy).value
|
||||
oldStrategy(x)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user