-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
40 lines (34 loc) · 1.22 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
import Dependencies._
name in ThisBuild := "easy-akka-http"
organization in ThisBuild := "com.holidaycheck"
scalaVersion in ThisBuild := "2.13.1"
crossScalaVersions in ThisBuild := Seq("2.13.1", "2.12.10")
scalafmtOnCompile in ThisBuild := true
releasePublishArtifactsAction in ThisBuild := PgpKeys.publishSigned.value
publishTo in ThisBuild := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
lazy val root = (project in file("."))
.settings(
publishArtifact := false
)
.aggregate(easyAkkaClient, easyAkkaMarshalling, richAkkaClient)
lazy val easyAkkaClient = (project in file("easy-akka-client"))
.settings(
name := "easy-akka-client",
libraryDependencies := akkaHttpDependencies ++ cats ++ scalaTest ++ akkaHttpCirce ++ circe
)
lazy val richAkkaClient = (project in file("rich-akka-client"))
.settings(
name := "rich-akka-client",
libraryDependencies := opencensus ++ scalaTest
)
.dependsOn(easyAkkaClient)
lazy val easyAkkaMarshalling = (project in file("easy-akka-marshalling"))
.settings(
name := "easy-akka-marshalling",
libraryDependencies := akkaHttpDependencies ++ cats ++ scalaTest ++ akkaHttpCirce ++ circe ++ refined
)