-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
107 lines (97 loc) · 3.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
lazy val commonOptions = Seq(
version := "1.0",
scalaVersion in ThisBuild := "2.12.4",
scalacOptions ++= Seq(
"-Ypartial-unification",
"-deprecation",
"-encoding", "utf-8",
"-explaintypes",
"-feature",
"-language:existentials",
"-language:experimental.macros",
"-language:higherKinds",
"-language:implicitConversions",
"-unchecked",
"-Xcheckinit",
"-Xfatal-warnings",
"-Xlint:delayedinit-select",
"-Xlint:doc-detached",
"-Xlint:inaccessible",
"-Xlint:infer-any",
"-Xlint:missing-interpolator",
"-Xlint:nullary-override",
"-Xlint:nullary-unit",
"-Xlint:option-implicit",
"-Xlint:package-object-classes",
"-Xlint:poly-implicit-overload",
"-Xlint:private-shadow",
"-Xlint:stars-align",
"-Xlint:type-parameter-shadow",
"-Xlint:unsound-match",
"-Yno-adapted-args",
"-Ypartial-unification",
"-Ywarn-dead-code",
"-Ywarn-extra-implicit",
"-Ywarn-inaccessible",
"-Ywarn-infer-any",
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit",
"-Ywarn-numeric-widen",
"-Ywarn-unused:implicits",
"-Ywarn-unused:imports",
"-Ywarn-unused:locals",
"-Ywarn-unused:params",
"-Ywarn-unused:patvars",
"-Ywarn-unused:privates",
"-Ywarn-value-discard"
)
)
lazy val commonTestOptions = Seq(
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.4" % "test"
)
lazy val core =
(project in file("core"))
.settings(commonOptions, commonTestOptions)
lazy val catsIntegration =
(project in file("cats-integration"))
.dependsOn(core % "compile->compile;test->test")
.settings(
commonOptions,
libraryDependencies += "org.typelevel" %% "cats-effect" % "0.5"
)
lazy val scalaz70Integration =
(project in file("scalaz-7_0-integration"))
.dependsOn(core % "compile->compile;test->test")
.settings(
commonOptions,
libraryDependencies += "org.scalaz" %% "scalaz-concurrent" % "7.0.9"
)
lazy val scalaz71Integration =
(project in file("scalaz-7_1-integration"))
.dependsOn(core % "compile->compile;test->test")
.settings(
commonOptions,
libraryDependencies += "org.scalaz" %% "scalaz-concurrent" % "7.1.16"
)
lazy val scalaz72Integration =
(project in file("scalaz-7_2-integration"))
.dependsOn(core % "compile->compile;test->test")
.settings(
commonOptions,
libraryDependencies += "org.scalaz" %% "scalaz-concurrent" % "7.2.18"
)
lazy val scalaz73Integration =
(project in file("scalaz-7_3-integration"))
.dependsOn(core % "compile->compile;test->test")
.settings(
commonOptions,
libraryDependencies += "org.scalaz" %% "scalaz-concurrent" % "7.3.0-M18"
)
lazy val javaio =
(project in file("javaio"))
.dependsOn(core % "compile->compile;test->test")
.settings(commonOptions)
lazy val javaioCatsExamples =
(project in file("javaio-cats-examples"))
.dependsOn(javaio % "compile->compile;test->test", catsIntegration % "compile->compile;test->test")
.settings(commonOptions, commonTestOptions)