forked from tkawachi/scalikejdbc-stream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
80 lines (72 loc) · 2.1 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
val _versions = new {
val scalikejdbc = "2.4.1"
}
val commonSettings = Seq(
organization := "com.github.tkawachi",
licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT")),
scmInfo := Some(ScmInfo(
url("https://github.com/tkawachi/scalikejdbc-akka-stream-test/"),
"scm:git:github.com:tkawachi/scalikejdbc-akka-stream-test.git"
)),
scalaVersion := "2.11.8",
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-unchecked",
"-Xfatal-warnings",
"-Xlint"
),
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.1.7" % "test",
"com.h2database" % "h2" % "1.4.191" % "test",
"org.scalatest" %% "scalatest" % "2.2.6" % "test",
"org.scalikejdbc" %% "scalikejdbc" % _versions.scalikejdbc % "test"
)
)
lazy val root = project.in(file("."))
.settings(commonSettings :_*)
.settings(
name := "scalikejdbc-stream-root",
publishArtifact := false
)
.aggregate(stream, fs2, akka, scalaz)
lazy val stream = project.in(file("stream"))
.settings(commonSettings: _*)
.settings(
name := "scalikejdbc-stream",
description := "Scalikejdbc stream",
libraryDependencies ++= Seq(
"org.scalikejdbc" %% "scalikejdbc-core" % _versions.scalikejdbc
)
)
lazy val fs2 = project.in(file("fs2"))
.settings(commonSettings: _*)
.settings(
name := "scalikejdbc-stream-fs2",
description := "Scalikejdbc stream FS2",
libraryDependencies ++= Seq(
"co.fs2" %% "fs2-core" % "0.9.0-M6"
)
)
.dependsOn(stream)
lazy val akka = project.in(file("akka"))
.settings(commonSettings: _*)
.settings(
name := "scalikejdbc-stream-akka",
description := "Scalikejdbc stream Akka",
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % "2.4.8"
)
)
.dependsOn(stream)
lazy val scalaz = project.in(file("scalaz"))
.settings(commonSettings: _*)
.settings(
name := "scalikejdbc-stream-scalaz",
description := "Scalikejdbc stream Akka",
libraryDependencies ++= Seq(
"org.scalaz.stream" %% "scalaz-stream" % "0.8.2"
)
)
.dependsOn(stream)