-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
50 lines (44 loc) · 1.65 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
50
import Dependencies._
lazy val commonSettings = Seq(
organization := "com.evolutiongaming",
homepage := Some(url("https://github.com/evolution-gaming/akka-test")),
startYear := Some(2019),
organizationName := "Evolution",
organizationHomepage := Some(url("https://evolution.com")),
scalaVersion := crossScalaVersions.value.head,
crossScalaVersions := Seq("2.13.1", "2.12.10"),
scalacOptions in(Compile, doc) ++= Seq("-groups", "-implicits", "-no-link-warnings"),
scalacOptsFailOnWarn := Some(false),
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))),
publishTo := Some(Resolver.evolutionReleases),
releaseCrossBuild := true)
val alias: Seq[sbt.Def.Setting[_]] =
// addCommandAlias("check", "all versionPolicyCheck Compile/doc") ++
addCommandAlias("check", "show version") ++
addCommandAlias("build", "+all compile test")
lazy val root = (project in file(".")
settings (name := "akka-test")
settings commonSettings
settings alias
settings (skip in publish := true)
aggregate(actor, http))
lazy val actor = (project in file("actor")
settings (name := "akka-test-actor")
settings commonSettings
settings (libraryDependencies ++= Seq(
Akka.default.actor,
scalatest,
Akka.newer.actor % Test,
Akka.default.slf4j % Test)))
lazy val http = (project in file("http")
settings (name := "akka-test-http")
settings commonSettings
settings (libraryDependencies ++= Seq(
Akka.default.actor,
Akka.default.stream,
AkkaHttp.default.core,
scalatest,
Akka.newer.actor % Test,
Akka.newer.stream % Test,
AkkaHttp.newer.core % Test,
AkkaHttp.default.testkit % Test)))