forked from IronCoreLabs/davenport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
83 lines (70 loc) · 2.48 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
scalaVersion := "2.11.7"
val ScalazVersion = "7.1.5"
// crossScalaVersions := Seq("2.10.4")
resolvers ++= Seq(
"Typesafe repository" at "http://repo.typesafe.com/typesafe/release/",
"Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases",
"Oncue Bintray Repo" at "http://dl.bintray.com/oncue/releases"
)
// Production
libraryDependencies ++= Seq(
"org.scalaz" %% "scalaz-core" % ScalazVersion, // for type awesomeness
"org.scalaz" %% "scalaz-concurrent" % ScalazVersion, // for type awesomeness
"com.couchbase.client" % "core-io" % "1.2.1",
"io.reactivex" %% "rxscala" % "0.25.0", // to better work with the couchbase java client
"io.argonaut" %% "argonaut" % "6.1", // json (de)serialization scalaz style
"org.scalaz.stream" %% "scalaz-stream" % "0.7.2a",
"org.scodec" %% "scodec-bits" % "1.0.12"
)
// Test
libraryDependencies ++= Seq(
"org.scalatest" % "scalatest_2.11" % "2.2.1" % "test",
"org.typelevel" %% "scalaz-scalatest" % "0.2.2" % "test",
"org.scalacheck" %% "scalacheck" % "1.12.5" % "test",
"org.scalaz" %% "scalaz-scalacheck-binding" % ScalazVersion,
"oncue.knobs" %% "core" % "3.3.3" % "test"
)
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.6.3")
// Code coverage checks
coverageMinimum := 70
coverageFailOnMinimum := true
coverageHighlighting := scalaBinaryVersion.value == "2.11"
tutSettings
unidocSettings
site.settings
ghpages.settings
Lint.settings
site.includeScaladoc()
releaseVersionBump := sbtrelease.Version.Bump.Bugfix
com.typesafe.sbt.site.JekyllSupport.requiredGems := Map(
"jekyll" -> "2.4.0",
"kramdown" -> "1.5.0",
"jemoji" -> "0.4.0",
"jekyll-sass-converter" -> "1.2.0",
"jekyll-mentions" -> "0.2.1"
)
site.jekyllSupport()
// Enable this if you're convinced every publish should update docs
// site.publishSite
tutSourceDirectory := sourceDirectory.value / "tutsrc"
tutTargetDirectory := sourceDirectory.value / "jekyll" / "_tutorials"
git.remoteRepo := "git@github.com:IronCoreLabs/davenport.git"
releasePublishArtifactsAction := PgpKeys.publishSigned.value
// Apply default Scalariform formatting.
// Reformat at every compile.
// c.f. https://github.com/sbt/sbt-scalariform#advanced-configuration for more options.
scalariformSettings
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8", // yes, this is 2 args
"-feature",
"-unchecked",
"-language:higherKinds",
"-Xfatal-warnings",
// "-Xlog-implicits",
"-Xlint",
"-Yno-adapted-args",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard",
"-Xfuture"
)