Skip to content

Commit

Permalink
ArtefactResolution: Return correct dependencies in libraryDeps()
Browse files Browse the repository at this point in the history
Only consider requested platforms.
  • Loading branch information
tindzk committed Jan 19, 2019
1 parent 9fac27b commit 4d46236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/seed/artefact/ArtefactResolution.scala
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ object ArtefactResolution {
platforms: Set[Platform],
parent: Module = Module()
): Set[Dep] =
module.targets.toSet[Platform].union(platforms).flatMap { target =>
module.targets.toSet[Platform].intersect(platforms).flatMap { target =>
// Shared libraries
if (target == JVM)
jvmDeps(build,
Expand Down

0 comments on commit 4d46236

Please sign in to comment.