-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
62 lines (50 loc) · 1.97 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
organization in ThisBuild := "org.scala-comprehensions"
name := "flow-comprehensions"
homepage := Some(url("https://github.com/cvogt/flow-comprehensions"))
description := "Simpler and more powerful alternative to Scala's built-in for-comprehension syntax"
licenses in ThisBuild := Seq(
"BSD Simplified" -> url("https://opensource.org/licenses/BSD-2-Clause")
)
developers in ThisBuild := List(
Developer(
id = "cvogt",
name = "Chris Vogt",
email = "[email protected]",
url = url("http://cvogt.org")
),
Developer(
id = "clhodapp",
name = "Chris Hodapp",
email = "[email protected]",
url = url("https://github.com/clhodapp")
)
)
scalaVersion in ThisBuild := "2.11.7"
val EmmVersion = "0.2.1"
val ScalazVersion = "7.2.0"
libraryDependencies in ThisBuild ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"org.scala-lang" % "scala-compiler" % scalaVersion.value % "compile",
"org.scalaz" %% "scalaz-concurrent" % ScalazVersion % Test,
"org.scalaz" %% "scalaz-concurrent" % ScalazVersion % Test,
"com.codecommit" %% "emm-core" % EmmVersion % Test,
"com.codecommit" %% "emm-scalaz-72" % EmmVersion % Test
)
bintrayOrganization in ThisBuild := Some("scala-comprehensions")
publishMavenStyle in ThisBuild := true
scmInfo in ThisBuild := Some(
ScmInfo(
browseUrl = url("https://github.com/cvogt/flow-comprehensions"),
connection = "ssh://[email protected]:/cvogt/flow-comprehensions.git",
devConnection = Some("ssh://[email protected]:/cvogt/flow-comprehensions.git")
)
)
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.7.1")
scalacOptions in ThisBuild := List("-feature", "-deprecation")
releaseTagComment := s"Releasing ${(version in ThisBuild).value}"
releaseCommitMessage := {
if (isSnapshot.value) s"Setting version to ${version.value} for next development iteration"
else s"Setting version to ${version.value} for release"
}
releasePublishArtifactsAction := PgpKeys.publishSigned.value
enablePlugins(ScalaJSPlugin)