-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (35 loc) · 833 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
41
42
43
import sbt._
import BuildConfig.Dependencies
lazy val commonSettings = BuildConfig.commonSettings()
lazy val general = project.in(file("general")).
settings(commonSettings).
settings(
Seq(
name := "general-geons"
)
)
lazy val aws = project.in(file("aws")).
settings(commonSettings).
settings(
Seq(
name := "aws-geons",
libraryDependencies ++= Seq(
Dependencies.awsServiceDep("dynamodb")
)
)
)
lazy val geons = project.in(file(".")).
settings(commonSettings).
settings(
Seq(
name := "geons",
aggregate in update := false
)
).
aggregate(aws, general)
lazy val showVersion = taskKey[Unit]("Show version")
showVersion := {
println(version.value)
}
// custom alias to hook in any other custom commands
addCommandAlias("build", "; compile")