-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprelude.sc
42 lines (38 loc) · 1.32 KB
/
prelude.sc
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
// scala 2.13.4
val atto="0.9.0"
val bigMath="2.3.0"
val cats="2.3.1"
val catsEffect = "2.3.1"
val circe="0.13.0"
val http4s="1.0.0-M10"
val refined = "0.9.20"
val slf4j="1.7.30"
val supertagged="2.0-RC2"
interp.load.ivy("org.tpolecat" %% "atto-core" % atto)
interp.load.ivy("org.tpolecat" %% "atto-refined" % atto)
interp.load.ivy("ch.obermuhlner" % "big-math" % bigMath)
interp.load.ivy("org.typelevel" %% "cats-core" % cats)
interp.load.ivy("org.typelevel" %% "cats-effect" % catsEffect)
interp.load.ivy("io.circe" %% "circe-core" % circe)
interp.load.ivy("io.circe" %% "circe-refined" % circe)
interp.load.ivy("org.http4s" %% "http4s-circe" % http4s)
interp.load.ivy("org.http4s" %% "http4s-dsl" % http4s)
interp.load.ivy("org.http4s" %% "http4s-blaze-client" % http4s)
interp.load.ivy("eu.timepit" %% "refined" % refined)
interp.load.ivy("org.rudogma" %% "supertagged" % supertagged)
interp.load.ivy("org.slf4j" % "slf4j-simple" % slf4j)
private val scalacOptions = List(
"-Xfatal-warnings",
"-deprecation",
"-explaintypes",
"-feature",
"-language:postfixOps",
"-language:implicitConversions",
"-Ywarn-unused:implicits",
"-Ywarn-unused:imports",
"-Ywarn-unused:locals",
"-Ywarn-unused:patvars",
"-Ywarn-unused:privates",
"-Ywarn-value-discard"
)
interp.configureCompiler(_.settings.processArguments(scalacOptions, true))