By Alvin Alexander. Last updated: October 27, 2020
As a quick Scala note, the syntax to add multiple library dependencies with sbt is this:
libraryDependencies ++= Seq( "com.typesafe.akka" %% "akka-actor" % "2.1.1", "com.typesafe.akka" %% "akka-remote" % "2.1.1" )
For the sake of completeness, if you only need to add one sbt dependency the syntax is this:
libraryDependencies += "com.typesafe.akka" % "akka-actor_2.10" % "2.2-M1"
As I think about it, it’s probably easier to just always use the syntax for adding multiple dependencies. (I can never remember its syntax, so if I use it all the time, that’s one less thing I have to remember.)