-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
40 lines (30 loc) · 913 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
39
40
name := """airbnb-scrapper"""
version in ThisBuild := "1.0-SNAPSHOT"
scalaVersion in ThisBuild := "2.11.8"
initialize := {
val _ = initialize.value
if (sys.props("java.specification.version") != "1.8")
sys.error("Java 8 is required for this project.")
}
parallelExecution in (ThisBuild, Test) := true
lazy val root = project.in(file("."))
.aggregate(
flyway,
api,
slick,
play
)
lazy val flyway = (project in file("modules/flyway"))
.enablePlugins(FlywayPlugin)
lazy val api = (project in file("modules/api"))
.enablePlugins(Common)
lazy val slick = (project in file("modules/slick"))
.enablePlugins(Common)
.aggregate(api)
.dependsOn(api)
lazy val play = (project in file("modules/play"))
.enablePlugins(PlayScala)
.aggregate(api, slick)
.dependsOn(api, slick)
// Add any command aliases that may be useful as shortcuts
addCommandAlias("cc", ";clean;compile")