name := "Barrio"
organization := "com.codiply"
version := "0.0.1"

scalaVersion := "2.11.11"

libraryDependencies ++= { 
  val akkaVersion = "2.4.19" 
  val akkaHttpVersion = "10.0.9"
  
  Seq(
    "com.github.scopt" %% "scopt" % "3.6.0",
    "org.scalactic" %% "scalactic" % "3.0.1",
    "org.scalamock" %% "scalamock-scalatest-support" % "3.6.0" % Test,
    "org.scalatest" %% "scalatest" % "3.0.1" % Test,
    "com.typesafe.akka" %% "akka-actor" % akkaVersion,
    "com.typesafe.akka" %% "akka-cluster" % akkaVersion,
    "com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
    "com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
    "com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test
  )
}

// Do not run tests as part of assembly
test in assembly := {}
assemblyOutputPath in assembly := file("target/barrio/barrio.jar")
mainClass in assembly := Some("com.codiply.barrio.Main")

addCommandAlias("ss", ";scalastyle;test:scalastyle")
name := "Barrio"
organization := "com.codiply"
version := "0.0.1"

scalaVersion := "2.11.11"

libraryDependencies ++= { 
  val akkaVersion = "2.4.19" 
  val akkaHttpVersion = "10.0.9"
  
  Seq(
    "com.github.scopt" %% "scopt" % "3.6.0",
    "org.scalactic" %% "scalactic" % "3.0.1",
    "org.scalamock" %% "scalamock-scalatest-support" % "3.6.0" % Test,
    "org.scalatest" %% "scalatest" % "3.0.1" % Test,
    "com.typesafe.akka" %% "akka-actor" % akkaVersion,
    "com.typesafe.akka" %% "akka-cluster" % akkaVersion,
    "com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
    "com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
    "com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test
  )
}

// Do not run tests as part of assembly
test in assembly := {}
assemblyOutputPath in assembly := file("target/barrio/barrio.jar")
mainClass in assembly := Some("com.codiply.barrio.Main")

addCommandAlias("ss", ";scalastyle;test:scalastyle")

// A stage step is needed when deploying to demo app in Heroku
addCommandAlias("stage", "assembly")

Add stage step expected by Heroku
Add stage step expected by Heroku