-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.sbt
34 lines (20 loc) · 875 Bytes
/
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
import CrossVersion.partialVersion
name := "machines"
version := "1.0.1"
description := "Streaming I/O for Scala"
libraryDependencies += "org.scalaz" %% "scalaz-core" % "7.2.6"
libraryDependencies += "org.scalaz" %% "scalaz-effect" % "7.2.6"
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.13.2" % "test"
scalaVersion := "2.11.8"
crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.0-RC1")
scalacOptions ++= Seq("-deprecation", "-unchecked")
scalacOptions ++= {
val non29 = Seq("-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-language:postfixOps")
partialVersion(scalaVersion.value) match {
case Some((2, 10)) => non29
case sv => non29 ++ Seq("-Ywarn-unused-import")
}
}
seq(bintraySettings:_*)
licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
publishMavenStyle := true