-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
43 lines (38 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
name := "scalacheck-magnolia"
version := "1.0"
scalaVersion := "2.12.4"
organization := "digitalgenius"
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
"-language:experimental.macros",
"-unchecked",
"-Xfatal-warnings",
"-Xlint:delayedinit-select", // selecting member of DelayedInit
"-Xlint:doc-detached", // warn when a scaladoc is detached from its element
"-Xlint:infer-any", // Any shouldn't be infered - it's unsafe
"-Xlint:missing-interpolator", // a variable isn't defined in a string interpolation
"-Xlint:nullary-override", // warn when 'def f()' overrides 'def f'
"-Xlint:nullary-unit", // warn when nullary methods return with Unit
"-Xlint:private-shadow", // something shadows a private member
"-Xlint:stars-align", // pattern sequence wildcard must align with sequence component
"-Xlint:type-parameter-shadow", // something local shadows a type parameter
"-Xlint:unsound-match", // the used pattern matching is unsafe
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard",
"-Xfuture",
"-Ypartial-unification",
"-Xmax-classfile-name", "200"
)
libraryDependencies ++= {
Seq(
"com.propensive" %% "magnolia" % "0.6.1",
"org.scalacheck" %% "scalacheck" % "1.13.4"
)
}