-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
38 lines (32 loc) · 1023 Bytes
/
build.sbt
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
34
35
36
37
38
name := "alsystem"
//playScalaSettings
fork in Test := false
fork in run := true
lazy val logic = project
.settings(commonSettings: _*)
.settings(
libraryDependencies ++= Seq()
)
lazy val alsystem = (project in file("."))
.dependsOn(logic)
.aggregate(logic)
.settings(commonSettings: _*)
.settings(
libraryDependencies ++= Seq(
"org.webjars" %% "webjars-play" % "2.3.0",
"org.webjars" % "requirejs" % "2.1.11-1",
"org.webjars" % "angularjs" % "1.2.18",
"org.webjars" % "jquery" % "2.1.3",
"com.typesafe.play" %% "play-slick" % "0.8.0",
"com.typesafe.play" %% "play-ws" % "2.3.1"
)
).enablePlugins(PlayScala)
lazy val commonSettings: Seq[Setting[_]] = Seq(
name <<= name("alsystem-" + _),
version := "0.2-SNAPSHOT",
scalaVersion := "2.11.1",
scalacOptions ++= Seq("-deprecation", "-feature", "-language:postfixOps"),
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.0" % "test",
"junit" % "junit" % "4.10" % "test")
)