-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
69 lines (67 loc) · 1.6 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
import Dependencies._
lazy val commonScalacOptions = Seq(
"-deprecation",
"-encoding",
"UTF-8",
"-feature",
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
"-language:experimental.macros",
"-Ypartial-unification",
"-unchecked",
"-Xfatal-warnings",
"-Xlint",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-value-discard",
"-Xfuture",
"-Xlog-reflective-calls",
"-Ywarn-inaccessible",
"-Ypatmat-exhaust-depth",
"20",
"-Ydelambdafy:method",
"-Xmax-classfile-name",
"100",
"-opt:l:inline",
"-opt-inline-from:**"
)
lazy val classy = (project in file(".")).settings(
inThisBuild(
List(
organization := "com.github.gvolpe",
scalaVersion := "2.12.7",
version := "0.1.0-SNAPSHOT"
)
),
name := "classy-optics",
scalafmtOnCompile := true,
scalacOptions ++= commonScalacOptions,
libraryDependencies ++= Seq(
compilerPlugin(Libraries.kindProjector),
compilerPlugin(Libraries.betterMonadicFor),
compilerPlugin(Libraries.macroParadise)
),
libraryDependencies ++= Seq(
Libraries.cats,
Libraries.catsMeowMtl,
Libraries.catsPar,
Libraries.catsEffect,
Libraries.fs2,
Libraries.http4sDsl,
Libraries.http4sServer,
Libraries.http4sCirce,
Libraries.circeCore,
Libraries.circeGeneric,
Libraries.circeGenericExt,
Libraries.circeParser,
Libraries.pureConfig,
Libraries.log4cats,
Libraries.logback,
Libraries.zioCore,
Libraries.zioCats,
Libraries.scalaTest % "test",
Libraries.scalaCheck % "test",
Libraries.catsEffectLaws % "test"
)
)