-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
25 lines (21 loc) · 905 Bytes
/
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
name := "learning-eff"
version := "0"
scalaVersion := Settings.versions.scala
val commonSettings = Seq(
scalaVersion := Settings.versions.scala,
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % "0.9.0",
"io.monix" %% "monix" % "2.3.0",
"org.atnos" %% "eff" % "4.5.0",
"org.atnos" %% "eff-monix" % "4.5.0",
"org.scalatest" %% "scalatest" % "3.0.4" % "test"
),
resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases",
// to write types like Reader[String, ?]
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.3"),
// to get types like Reader[String, ?] (with more than one type parameter) correctly inferred for scala 2.12.x
scalacOptions += "-Ypartial-unification",
scalacOptions in Test += "-Yrangepos",
version := "0"
)
lazy val elementary1 = (project in file("problems/elementary/prob1")).settings(commonSettings)