diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-07-02 11:45:58 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-07-02 11:45:58 +0200 |
commit | 232a0bb3c9b808ccd2245087ddb296163aefa451 (patch) | |
tree | 62affc74c7abfa7d3b57ebc53a8f47460a682c55 /build.sbt | |
parent | 9156cbeb944db80245766c317f43434b4c1981e5 (diff) | |
download | scala-async-232a0bb3c9b808ccd2245087ddb296163aefa451.tar.gz scala-async-232a0bb3c9b808ccd2245087ddb296163aefa451.tar.bz2 scala-async-232a0bb3c9b808ccd2245087ddb296163aefa451.zip |
Build maintainence
- Update to SBT 0.12.4
- Update to Scala 2.10.2
- Provide a means to disable test compilation (other then TreeInterrogation)
This is handy when doing major renovations to the macro implementation.
- Explicitly depend on scala-compiler (we'll need that in the next commit)
- Declare the dependencies on scala-{reflect, compiler} as "provided" to avoid
adding them the runtime classpath of upstream projects. They are only needed
at compile time.
Diffstat (limited to 'build.sbt')
-rw-r--r-- | build.sbt | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ -scalaVersion := "2.10.1" +scalaVersion := "2.10.2" organization := "org.typesafe.async" // TODO new org name under scala-lang. @@ -8,8 +8,8 @@ version := "1.0.0-SNAPSHOT" libraryDependencies <++= (scalaVersion) { sv => Seq( - "org.scala-lang" % "scala-reflect" % sv, - "org.scala-lang" % "scala-compiler" % sv % "test" + "org.scala-lang" % "scala-reflect" % sv % "provided", + "org.scala-lang" % "scala-compiler" % sv % "provided" ) } @@ -40,6 +40,9 @@ startYear := Some(2012) licenses +=("Scala license", url("https://github.com/scala/async/blob/master/LICENSE")) +// Uncomment to disable test compilation. +// (sources in Test) ~= ((xs: Seq[File]) => xs.filter(f => Seq("TreeInterrogation", "package").exists(f.name.contains))) + pomExtra := ( <developers> <developer> |