-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
49 lines (47 loc) · 1.58 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
lazy val scala213 = "2.13.4"
lazy val scala212 = "2.12.12"
lazy val scala211 = "2.11.12"
lazy val `fast-reactive-fs2` = (project in file("."))
.settings(
organization := "ru.dokwork",
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
scalaVersion := scala213,
crossScalaVersions := Seq(scala211, scala212, scala213),
scalacOptions ++= Seq(
"-encoding",
"utf-8",
"-target:jvm-1.8",
"-deprecation",
"-feature",
"-unchecked",
"-Xlint",
"-Xfatal-warnings",
"-language:higherKinds"
),
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % "2.0.0",
"org.typelevel" %% "cats-effect" % "2.0.0",
"co.fs2" %% "fs2-core" % "2.0.0",
"org.reactivestreams" % "reactive-streams" % "1.0.3",
// tests:
"org.scalatest" %% "scalatest" % "3.1.0" % "test",
"org.scalatestplus" %% "scalatestplus-testng" % "1.0.0-M2" % "test",
"org.reactivestreams" % "reactive-streams-tck" % "1.0.3" % "test"
),
releaseReadmeFile := Some(baseDirectory.value / "README.md")
)
.settings(
coverageMinimum := 85,
coverageFailOnMinimum := true
)
lazy val benchmarks = (project in file("benchmarks"))
.enablePlugins(JmhPlugin)
.settings(
organization := "ru.dokwork",
scalaVersion := scala213,
libraryDependencies ++= Seq(
"org.reactivestreams" % "reactive-streams-tck" % "1.0.3",
"co.fs2" %% "fs2-reactive-streams" % "2.2.1"
)
)
.dependsOn(`fast-reactive-fs2`)