-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
41 lines (32 loc) · 1.11 KB
/
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
import com.eitc.onlinecrm.Dependencies._
import com.eitc.onlinecrm.Settings
lazy val root = (project in file("."))
.settings(Settings.default: _*)
.settings(Settings.plugin: _*)
.settings(Settings.scalariformPlugin: _*)
.settings(
name := "Crawler_Master",
version := "root",
fork in run := true,
libraryDependencies ++= AkkaProject ++ DbProject ++ Gcp ++ Scopt ++ TestLib ++ ScalaUtil.value
)
lazy val master = (project in file("master"))
.settings(Settings.default: _*)
.settings(Settings.plugin: _*)
.settings(Settings.scalariformPlugin: _*)
.settings(
name := "Crawler_Master",
version := "0426",
fork in run := true,
libraryDependencies ++= AkkaProject ++ DbProject ++ Gcp ++ Scopt ++ TestLib ++ ScalaUtil.value
).dependsOn(util)
lazy val util = (project in file("util"))
.settings(Settings.default: _*)
.settings(Settings.plugin: _*)
.settings(Settings.scalariformPlugin: _*)
.settings(
name := "scala_util",
fork in run := true,
version := "1.0",
libraryDependencies ++= AkkaProject ++ DbProject ++ Gcp ++ Scopt ++ TestLib ++ ScalaUtil.value
)