How to load multiple library dependencies in SBT

sbt FAQ: How do I load multiple library dependencies in sbt? That is, what is the correct syntax to have multiple dependencies in the sbt build.sbt file?

Solution: Use a Seq with the libraryDependencies syntax in your build.sbt file:

libraryDependencies ++= Seq(
    "net.sourceforge.htmlcleaner" % "htmlcleaner" % "2.4",
    "org.scalatest" % "scalatest_2.10" % "1.9.1" % "test",
    "org.foobar" %% "foobar" % "1.8"
)

The important part of that is knowing to use the ++= operator and a Seq.

On a related note, if you just have one sbt library dependency, just specify it with this build.sbt syntax:

libraryDependencies += "org.clapper" %% "argot" % "1.0.3"