-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
50 lines (44 loc) · 1.42 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
lazy val compilerSettings = Seq(
scalacOptions ++= Seq(
"-language:higherKinds",
"-Ypartial-unification",
"-Yliteral-types",
"-encoding", "UTF-8",
"-language:implicitConversions",
"-language:postfixOps",
"-language:existentials"
),
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.3"),
addCompilerPlugin("com.github.mpilquist" %% "simulacrum" % "0.10.0")
)
lazy val commonResolvers = Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots"),
Resolver.jcenterRepo
)
lazy val buildSettings = Seq(
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html")),
organization := "com.github.yilinwei",
scalaOrganization := "org.typelevel",
scalaVersion := "2.12.1",
version := "0.1.0-SNAPSHOT"
)
lazy val catsVersion = "0.9.0"
lazy val commonSettings = Seq(
resolvers := commonResolvers,
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "cats-free" % catsVersion,
"com.hazelcast" % "hazelcast" % "3.8",
"co.fs2" %% "fs2-core" % "0.9.4",
"co.fs2" %% "fs2-cats" % "0.3.0",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test"
)
) ++ compilerSettings
lazy val core = (project in file("core")).settings(
name := "fs2-hazelcast-core",
buildSettings,
commonSettings
)
lazy val root = (project in file(".")).aggregate(core)