-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
49 lines (43 loc) · 1.23 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
38
39
40
41
42
43
44
45
46
47
48
49
import Dependencies._
val commonSettings = Seq(
organization := "org.partitioner",
scalaVersion in ThisBuild := "2.12.4",
resolvers += Resolver.sonatypeRepo("releases"),
fork in run := true,
sourcesInBase := false,
scalacOptions ++= Seq("-target:jvm-1.8", "-feature")
)
lazy val root = (project in file("."))
.settings(commonSettings: _*)
.aggregate(core, plot, db)
.dependsOn(core, plot, db)
lazy val core = (project in file("core"))
.settings(commonSettings: _*)
.settings(
Seq(
name := "polygon-partitioner-core",
version := "0.1.1",
coverageEnabled := true
),
libraryDependencies ++= coreDependencies
)
lazy val plot = (project in file("plot"))
.settings(commonSettings: _*)
.settings(
Seq(
name := "polygon-partitioner-plot",
version := "0.1.1",
coverageEnabled := false
),
libraryDependencies ++= plotDependencies)
.dependsOn(core % "test->test;compile->compile")
lazy val db = (project in file("db"))
.settings(commonSettings: _*)
.settings(
Seq(
name := "polygon-partitioner-db",
version := "0.1.1",
coverageEnabled := false
),
libraryDependencies ++= dbDependencies)
.dependsOn(core % "test->test;compile->compile")