import ScalaModulePlugin._ scalaModuleSettings scalaVersionsByJvm in ThisBuild := { val v212 = "2.12.6" val v213 = "2.13.0-M3" val allFalse = List(v212 -> false, v213 -> false) Map( 8 -> List(v212 -> true, v213 -> true), 9 -> allFalse, 10 -> allFalse, 11 -> allFalse ) } name := "scala-async" repoName := "async" version := "0.9.8-SNAPSHOT" libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided" libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value % "test" // for ToolBox libraryDependencies += "junit" % "junit" % "4.12" % "test" libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "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 := ( GitHub https://github.com/scala/async/issues phaller Philipp Haller +1 http://github.com/phaller retronym Jason Zaugg +10 http://github.com/retronym ) OsgiKeys.exportPackage := Seq(s"scala.async.*;version=${version.value}")