-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
55 lines (48 loc) · 1.11 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
51
52
53
54
55
ThisBuild / organization := "io.rim99"
ThisBuild / scalaVersion := "3.1.0"
ThisBuild / version := "0.1.0-SNAPSHOT"
val loggingDep = Seq(
"com.outr" %% "scribe" % "3.6.10"
)
val testDep = Seq(
"org.scalatest" %% "scalatest" % "3.2.10" % "test",
"org.scalatestplus" %% "mockito-3-12" % "3.2.10.0" % "test"
)
scalacOptions ++= {
Seq(
"-encoding",
"UTF-8",
"-feature",
"-explain",
"-unchecked",
"-indent",
"-rewrite",
"-Ycheck-all-patmat",
// disabled during the migration
// "-Xfatal-warnings"
)
}
lazy val `scala-nio` = project.in(file("."))
.settings(
name := "scala-nio",
)
.aggregate(
`nio-core`,
`nio-jvm`,
`nio-example-mock-http`,
)
lazy val `nio-core` = project.in(file("nio-core"))
.settings(
libraryDependencies ++= testDep
)
lazy val `nio-jvm` = project.in(file("nio-jvm"))
.dependsOn(`nio-core`)
.settings(
libraryDependencies ++= testDep
)
lazy val `nio-example-mock-http` = project.in(file("nio-example-mock-http"))
.dependsOn(`nio-core`)
.dependsOn(`nio-jvm`)
.settings(
libraryDependencies ++= loggingDep
)