blob: 782c4d7de3799ddfbd221cab92f38b9b9289b09a (
plain) (
blame)
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
|
import ScalaModulePlugin._
scalaModuleSettings
scalaVersionsByJvm in ThisBuild := {
val v211 = "2.11.11"
val v212 = "2.12.3"
val v213 = "2.13.0-M2"
Map(
6 -> List(v211 -> true),
7 -> List(v211 -> false),
8 -> List(v212 -> true, v213 -> true, v211 -> false),
9 -> List(v212 -> false, v213 -> false, v211 -> false))
}
name := "scala-async"
repoName := "async"
version := "0.9.7-SNAPSHOT"
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided"
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value % "test" // for ToolBox
libraryDependencies += "junit" % "junit-dep" % "4.10" % "test"
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test"
enableOptimizer
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s")
scalacOptions in Test ++= Seq("-Yrangepos")
parallelExecution in Global := false
// Uncomment to disable test compilation.
// (sources in Test) ~= ((xs: Seq[File]) => xs.filter(f => Seq("TreeInterrogation", "package").exists(f.name.contains)))
description := "An asynchronous programming facility for Scala that offers a direct API for working with Futures."
homepage := Some(url("http://github.com/scala/async"))
startYear := Some(2012)
pomExtra := (
<issueManagement>
<system>GitHub</system>
<url>https://github.com/scala/async/issues</url>
</issueManagement>
<developers>
<developer>
<id>phaller</id>
<name>Philipp Haller</name>
<timezone>+1</timezone>
<url>http://github.com/phaller</url>
</developer>
<developer>
<id>retronym</id>
<name>Jason Zaugg</name>
<timezone>+10</timezone>
<url>http://github.com/retronym</url>
</developer>
</developers>
)
OsgiKeys.exportPackage := Seq(s"scala.async.*;version=${version.value}")
|