lazy val commonSettings = Seq( scalaVersion := "2.11.1", version := "1.0-SNAPSHOT" ) lazy val root = (project in file(".")) .settings(commonSettings: _*) .settings( name := """mini-bay""", libraryDependencies ++= Seq( jdbc, cache, ws, filters, "com.typesafe.slick" %% "slick" % "2.1.0", "com.typesafe.slick" %% "slick-extensions" % "2.1.0", "postgresql" % "postgresql" % "9.1-901.jdbc4", "com.typesafe.play" %% "play-slick" % "0.8.1", "org.slf4j" % "slf4j-nop" % "1.6.4" ) ) .enablePlugins(PlayScala).dependsOn(codegen) lazy val codegen = (project in file("codegen")) .settings(commonSettings: _*) .settings( name := """codegen""", libraryDependencies ++= Seq( "com.typesafe.slick" %% "slick-codegen" % "2.1.0", "org.scala-lang" % "scala-reflect" % "2.11.1" ) )