-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
69 lines (56 loc) · 1.95 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
enablePlugins(GitVersioning)
name := "equites-core"
organization := "eu.timepit"
homepage := Some(url("http://equites.timepit.eu"))
startYear := Some(2011)
licenses += "GPL-3.0" -> url("http://www.gnu.org/licenses/gpl-3.0.html")
scmInfo := Some(ScmInfo(url("https://github.com/equites-chess/equites-core"),
"[email protected]:equites-chess/equites-core.git"))
scalaVersion := "2.11.6"
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
"-unchecked",
"-Xfatal-warnings",
"-Xfuture",
"-Xlint",
"-Yrangepos"
)
scalacOptions in (Compile, doc) ++= Seq(
"-diagrams",
"-doc-source-url", scmInfo.value.get.browseUrl + "/tree/master€{FILE_PATH}.scala",
"-sourcepath", baseDirectory.in(LocalRootProject).value.getAbsolutePath
)
autoAPIMappings := true
resolvers ++= Seq(
"Scalaz Bintray Repo" at "https://dl.bintray.com/scalaz/releases",
"Frank's Bintray" at "https://dl.bintray.com/fthomas/maven"
)
val scalazVersion = "7.1.2"
val specs2Version = "3.6"
libraryDependencies ++= Seq(
"com.chuusai" %% "shapeless" % "2.1.0",
"com.nicta" %% "rng" % "1.3.0",
"eu.timepit" %% "scalaz-stream-contrib" % "0.0.0-2-g8b3bfaa",
"org.scalaz" %% "scalaz-concurrent" % scalazVersion,
"org.scalaz" %% "scalaz-core" % scalazVersion,
"org.scalaz.stream" %% "scalaz-stream" % "0.7a",
"org.scalacheck" %% "scalacheck" % "1.12.2" % "test",
"org.scalaz" %% "scalaz-scalacheck-binding" % scalazVersion % "test",
"org.specs2" %% "specs2-core" % specs2Version % "test",
"org.specs2" %% "specs2-scalacheck" % specs2Version % "test",
"org.specs2" %% "specs2-matcher-extra" % specs2Version % "test"
)
initialCommands := """
import scalaz._
import scalaz.Scalaz._
import scalaz.stream._
import eu.timepit.equites._
"""
bintray.Plugin.bintraySettings
git.useGitDescribe := true
ScalariformSettings.ourScalariformSettings