Skip to content

Commit

Permalink
Merge pull request #3328 from BranislavLazic/master
Browse files Browse the repository at this point in the history
Update docs for sbt-assembly config
  • Loading branch information
adamw authored Nov 17, 2023
2 parents e1ea054 + c846acd commit 4aec152
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/docs/openapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,11 @@ most artifacts in that directory. To avoid a `NullPointerException`, you need to
assemblyMergeStrategy in assembly := {
case PathList("META-INF", "maven", "org.webjars", "swagger-ui", "pom.properties") =>
MergeStrategy.singleOrError
case x =>
case PathList("META-INF", "resources", "webjars", "swagger-ui", _*) =>
MergeStrategy.singleOrError
case PathList("META-INF", _*) => MergeStrategy.discard // Optional, but usually required
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
oldStrategy(x)
}
```

0 comments on commit 4aec152

Please sign in to comment.