diff options
Diffstat (limited to 'build.sbt')
-rw-r--r-- | build.sbt | 45 |
1 files changed, 29 insertions, 16 deletions
@@ -1,19 +1,32 @@ | |||
1 | name := """mini-bay""" | ||
2 | 1 | ||
3 | version := "1.0-SNAPSHOT" | 2 | lazy val commonSettings = Seq( |
4 | 3 | scalaVersion := "2.11.1", | |
5 | lazy val root = (project in file(".")).enablePlugins(PlayScala) | 4 | version := "1.0-SNAPSHOT" |
5 | ) | ||
6 | 6 | ||
7 | scalaVersion := "2.11.1" | 7 | lazy val root = (project in file(".")) |
8 | .settings(commonSettings: _*) | ||
9 | .settings( | ||
10 | name := """mini-bay""", | ||
11 | libraryDependencies ++= Seq( | ||
12 | jdbc, | ||
13 | cache, | ||
14 | ws, | ||
15 | "com.typesafe.slick" %% "slick" % "2.1.0", | ||
16 | "com.typesafe.slick" %% "slick-extensions" % "2.1.0", | ||
17 | "postgresql" % "postgresql" % "9.1-901.jdbc4", | ||
18 | "com.typesafe.play" %% "play-slick" % "0.8.1", | ||
19 | "org.slf4j" % "slf4j-nop" % "1.6.4" | ||
20 | ) | ||
21 | ) | ||
22 | .enablePlugins(PlayScala).dependsOn(codegen) | ||
8 | 23 | ||
9 | libraryDependencies ++= Seq( | 24 | lazy val codegen = (project in file("codegen")) |
10 | jdbc, | 25 | .settings(commonSettings: _*) |
11 | anorm, | 26 | .settings( |
12 | cache, | 27 | name := """codegen""", |
13 | ws, | 28 | libraryDependencies ++= Seq( |
14 | "com.typesafe.slick" %% "slick" % "2.1.0", | 29 | "com.typesafe.slick" %% "slick-codegen" % "2.1.0", |
15 | //"com.typesafe.slick" %% "slick-codegen" % "2.1.0", | 30 | "org.scala-lang" % "scala-reflect" % "2.11.1" |
16 | "postgresql" % "postgresql" % "9.1-901.jdbc4", | 31 | ) |
17 | "com.typesafe.play" %% "play-slick" % "0.8.1", | 32 | ) |
18 | "org.slf4j" % "slf4j-nop" % "1.6.4" | ||
19 | ) | ||