-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
45 lines (39 loc) · 1.05 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
import Dependencies._
import sbt.librarymanagement.Configurations.IntegrationTest
ThisBuild / scalaVersion := "3.2.2"
ThisBuild / version := "0.0.1"
// Global / onChangedBuildSource := ReloadOnSourceChanges
lazy val root =
project
.in(file("."))
.aggregate(library, examples)
.settings(name := "backtask")
.settings(publish / skip := true)
lazy val library =
project
.in(file("modules/library"))
.settings(
name := "zio-backtask",
libraryDependencies ++= { zio ++ logging ++ circe ++ redis ++ testcontainers },
testFrameworks := List(new TestFramework("zio.test.sbt.ZTestFramework"))
)
.configs(IntegrationTest)
.settings(Defaults.itSettings)
.settings(publish / skip := true)
lazy val examples =
project
.in(file("modules/examples"))
.dependsOn(library)
.settings(
name := "examples"
)
.settings(publish / skip := true)
scalacOptions ++= Seq(
"-encoding",
"UTF-8",
"-feature",
"-unchecked",
"-deprecation",
"-Yretain-trees",
"-language:higherKinds"
)