-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
32 lines (30 loc) · 1.14 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
import de.johoop.testngplugin.TestNGPlugin
import de.johoop.jacoco4sbt.JacocoPlugin.jacoco
lazy val gabriel = (project in file("."))
.enablePlugins(JavaAppPackaging)
.dependsOn(gabrielcommons, gabrielblackbox, api)
.aggregate(gabrielcommons, gabrielblackbox, api)
.settings(
name := "gabriel",
version := IO.read(file("version.properties")).trim,
scalaVersion := "2.11.7",
autoScalaLibrary := false,
crossPaths := false,
mainClass in (Compile, run) := Some("org.iatoki.judgels.gabriel.Main"),
libraryDependencies ++= Seq(
"com.typesafe" % "config" % "1.2.1"
)
)
.settings(TestNGPlugin.testNGSettings: _*)
.settings(
aggregate in test := false,
aggregate in jacoco.cover := false,
TestNGPlugin.testNGSuites := Seq("src/test/resources/testng.xml")
)
.settings(jacoco.settings: _*)
.settings(
parallelExecution in jacoco.Config := false
)
lazy val gabrielcommons = RootProject(file("../gabriel-commons"))
lazy val gabrielblackbox = RootProject(file("../gabriel-blackbox"))
lazy val api = RootProject(file("../api"))