blob: 94ad485679fcadc2b6306bb10a6d53657e998cf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
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"
)
)
|