Skip to content

Instantly share code, notes, and snippets.

@kermitas
Created January 26, 2016 18:29
Show Gist options
  • Save kermitas/5c7fc8c8852651933d75 to your computer and use it in GitHub Desktop.
Save kermitas/5c7fc8c8852651933d75 to your computer and use it in GitHub Desktop.
File that holds Akka settings (in SBT project structure).
import sbt._
import Keys._
object SettingsAkka {
val akkaVersion = "2.3.11"
val akkaStreamsVersion = "1.0-RC3"
def apply() = Seq(
libraryDependencies += "com.typesafe.akka" %% "akka-actor" % akkaVersion,
libraryDependencies += "com.typesafe.akka" %% "akka-slf4j" % akkaVersion
)
def streamsAndHttp() = Seq(
libraryDependencies += "com.typesafe.akka" %% "akka-stream-experimental" % akkaStreamsVersion,
libraryDependencies += "com.typesafe.akka" %% "akka-http-core-experimental" % akkaStreamsVersion,
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json-experimental" % akkaStreamsVersion
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment