-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
34 lines (27 loc) · 1.02 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
import Dependencies._
import TodoListPlugin._
lazy val compilerSettings = CompilerSettings.options ++ Seq(
crossScalaVersions := Seq("2.11.12", scalaVersion.value)
)
lazy val acq = (project in file("acq"))
.configs(IntegrationTest extend Test)
.settings(Settings.proxy: _*)
.settings(Defaults.itSettings)
.settings(Settings.acq: _*)
.dependsOn(core % "compile->compile;test->test;it->it")
.settings(libraryDependencies ++= Dep.acq)
lazy val proxy = (project in file("proxy"))
.configs(IntegrationTest extend Test)
.settings(Settings.proxy: _*)
.dependsOn(core % "compile -> compile;test->test")
.dependsOn(acq % "compile -> compile;test->test")
.enablePlugins(JavaAppPackaging, BuildInfoPlugin)
.settings(libraryDependencies ++= Dep.proxy)
lazy val core = (project in file("core"))
.settings(Settings.proxy: _*)
.configs(IntegrationTest)
.settings(libraryDependencies ++= Dep.core)
.settings(Settings.core: _*)
enablePlugins(JavaAppPackaging)
enablePlugins(UniversalPlugin)
compileWithTodolistSettings