diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-21 11:44:40 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-21 11:49:23 +0100 |
commit | 61a682f26e4ecf3734a1b457824756d7fd110e06 (patch) | |
tree | e0fa81dad28b7e39e4077dd1e39fda92d2fca358 /build.sbt | |
parent | bc51a19ab4c7fccfa64554dce5098481aec8cdac (diff) | |
download | scala-async-61a682f26e4ecf3734a1b457824756d7fd110e06.tar.gz scala-async-61a682f26e4ecf3734a1b457824756d7fd110e06.tar.bz2 scala-async-61a682f26e4ecf3734a1b457824756d7fd110e06.zip |
Finalize the move to Scala 2.11.x
- Link to the 2.10.x branch from the README
- use `scala.annotation.compileTimeOnly` (from scala-library.jar)
- no longer impose a transitive dependency on scala-reflect and
scala-compiler.
- Update Travis CI configuration to use only 2.11.0-SNAPSHOT
Diffstat (limited to 'build.sbt')
-rw-r--r-- | build.sbt | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -1,8 +1,8 @@ -scalaVersion := "2.11.0-RC1" +scalaVersion := "2.11.0-SNAPSHOT" // Uncomment to test with a locally built copy of Scala. // scalaHome := Some(file("/code/scala2/build/pack")) - +resolvers ++= (if (scalaVersion.value.endsWith("SNAPSHOT")) List(Resolver.sonatypeRepo("snapshots")) else Nil) organization := "org.scala-lang.modules" @@ -10,15 +10,9 @@ name := "scala-async" version := "0.9.0-SNAPSHOT" -libraryDependencies <++= (scalaVersion) { - sv => Seq( - // TODO we should make this provided after we rely on @compileTimeOnly in scla-library in 2.11.- - // but if we do that now, and a user doesn't have this on the classpath, they can get the - // dreaded MissingRequirementErrors when unpickling types from scala.async.Async - "org.scala-lang" % "scala-reflect" % sv, - "org.scala-lang" % "scala-compiler" % sv % "provided" - ) -} +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" |