aboutsummaryrefslogblamecommitdiff
path: root/build.sbt
blob: ae0916a93644e27bdc92329d4ebbc421c9bd143c (plain) (tree)
1
2
3
4
5
6
7
8
                        




                                    
                           
 



                                                     






                                                                              

                                                                     

                                    








                                                                            
                                                                         
 
                                                                                                










                                                                                  
                                 














                                                                             
scalaVersion := "2.10.0"

organization := "org.typesafe.async"

name := "scala-async"

version := "1.0.0-SNAPSHOT"

libraryDependencies <++= (scalaVersion) {
  sv => Seq(
    "org.scala-lang" % "scala-reflect" % sv,
    "org.scala-lang" % "scala-compiler" % sv % "test"
  )
}

libraryDependencies += "junit" % "junit-dep" % "4.10" % "test"

libraryDependencies += "com.novocode" % "junit-interface" % "0.10-M2" % "test"

testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s")

parallelExecution in Global := false

autoCompilerPlugins := true

libraryDependencies <<= (scalaVersion, libraryDependencies) {
  (ver, deps) =>
    deps :+ compilerPlugin("org.scala-lang.plugins" % "continuations" % ver)
}

scalacOptions += "-P:continuations:enable"

scalacOptions ++= Seq("-deprecation", "-unchecked", "-Xlint", "-feature")

description := "An asynchronous programming facility for Scala, in the spirit of C# await/async"

homepage := Some(url("http://github.com/phaller/scala-async"))

startYear := Some(2012)

licenses +=("Scala license", url("http://github.com/phaller/scala-async/LICENCE"))

pomExtra := (
  <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>+1</timezone>
      <url>http://github.com/retronym</url>
    </developer>
  </developers>
    <scm>
      <url>git@github.com:phaller/scala-async.git/</url>
      <connection>scm:git:git@github.com:phaller/scala-async.git</connection>
    </scm>
  )