-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
29 lines (26 loc) · 804 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
lazy val job = Project("job", file("job"))
.settings(
name := "foo-job",
mainClass in Compile := Some("com.example.job.Main")
)
.settings(Settings.common: _*)
.settings(FooJobDocker.settings)
.enablePlugins(JavaAppPackaging, DockerPlugin)
.dependsOn(common)
lazy val api = Project("api", file("api"))
.settings(
name := "goo-api",
mainClass in Compile := Some("com.example.api.Main")
)
.settings(Settings.common: _*)
.settings(GooApiDocker.settings)
.enablePlugins(JavaAppPackaging, DockerPlugin)
.dependsOn(common)
lazy val common = Project("common", file("common"))
.settings(
name := "common-toolkit"
)
.settings(Settings.common: _*)
lazy val multiDocker = Project("multi-docker", file("."))
.settings(Settings.common: _*)
.aggregate(job, api)