aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt45
1 files changed, 29 insertions, 16 deletions
diff --git a/build.sbt b/build.sbt
index 62c7ad4..6fda37f 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,19 +1,32 @@
1name := """mini-bay"""
2 1
3version := "1.0-SNAPSHOT" 2lazy val commonSettings = Seq(
4 3 scalaVersion := "2.11.1",
5lazy val root = (project in file(".")).enablePlugins(PlayScala) 4 version := "1.0-SNAPSHOT"
5)
6 6
7scalaVersion := "2.11.1" 7lazy 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
9libraryDependencies ++= Seq( 24lazy 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)