-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
44 lines (39 loc) · 1.23 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
cancelable in Global := true
lazy val commonSettings = Seq(
organization := "scalaeff"
, name := "scalaeff"
, version := "0.1.0-SNAPSHOT"
, scalaVersion := "2.11.7"
, logLevel in update := Level.Warn
)
lazy val strictScalac =
scalacOptions ++= Seq(
"-Yrangepos"
, "-Xlint"
,"-deprecation"
, "-Xfatal-warnings"
, "-feature"
, "-encoding", "UTF-8"
//, "-unchecked"
, "-Yno-adapted-args"
, "-Ywarn-dead-code"
, "-Ywarn-numeric-widen"
, "-Ywarn-value-discard"
, "-Xfuture"
//, "-Ywarn-unused-import"
)
resolvers += Resolver.sonatypeRepo("releases")
lazy val root = project.in(file("."))
.settings(commonSettings:_*)
.settings(name := "scalaeff")
.settings(
libraryDependencies ++= Seq(
"com.chuusai" %% "shapeless" % "2.2.5"
, "org.scalatest" %% "scalatest" % "2.2.1" % "test"
, "org.spire-math" %% "cats" % "0.2.0"
// , "org.typelevel" %% "alleycats" % "0.1.2"
, "org.typelevel" %% "export-hook" % "1.1.0"
, "org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided"
, compilerPlugin("org.scalamacros" % "paradise" % "2.1.0-M5" cross CrossVersion.full)
)
)