scala-js / scala-js-website

Source for https://www.scala-js.org/
261 stars 146 forks source link

Document sharing of library dependencies #92

Open gzm0 opened 10 years ago

gzm0 commented 10 years ago

Here: vmunier/play-with-scalajs-example#20

ochrons commented 8 years ago

Is this now obsolete?

gzm0 commented 8 years ago

Self-assigning for verification.

sjrd commented 8 years ago

Is it what's covered in the last section of http://www.scala-js.org/doc/project/cross-build.html ?

gzm0 commented 8 years ago

Not really... This was about being able to factor dependencies out.

E.g.:

val fooBarSettings = Seq(
  libraryDependencies ++= Seq(a,b,c)
)

Instead of (following does not work it there is a %%% macro in any of a,b,c):

val fooBarLibs = Seq(a,b,c)