forked from qifun/stateless-future-util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
39 lines (23 loc) · 942 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
34
35
36
37
38
organization := "com.qifun"
name := "stateless-future-util"
version := "0.6.0-SNAPSHOT"
libraryDependencies += "com.qifun" %% "stateless-future" % "0.3.2"
libraryDependencies += "com.dongxiguo" %% "fastring" % "0.3.1"
libraryDependencies += "com.dongxiguo" %% "zero-log" % "0.4.1"
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test"
// Disable optimizer due to https://issues.scala-lang.org/browse/SI-8906
// scalacOptions += "-optimize"
scalacOptions += "-unchecked"
scalacOptions += "-Xlint"
scalacOptions += "-feature"
scalacOptions += "-Ywarn-value-discard"
scalacOptions <++= (scalaVersion) map { sv =>
if (sv.startsWith("2.10.")) {
Seq("-deprecation") // Fully compatible with 2.10.x
} else {
Seq() // May use deprecated API in 2.11.x
}
}
crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.1")
description := "Utilities for working with Stateless Future."
startYear := Some(2014)