lightbend-labs / dbuild

Multi-project build tool, based on sbt.
https://lightbend-labs.github.io/dbuild
Other
83 stars 14 forks source link

support sbt 0.13 #34

Closed adriaanm closed 11 years ago

adriaanm commented 11 years ago

We're using sbt 0.13 for the new modules in Scala 2.11, and would like to use dbuild to build them.

This doesn't work, for example for https://github.com/scala/scala-partest/blob/master/build.sbt:

build.sbt:25: error: not found: value Def
[error] resourceGenerators in Compile <+= Def.task {
[error]                                   ^
[info] [error] Type error in expression
[info] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? 
java.lang.RuntimeException: Failure to run sbt!  Error code: 1
    at scala.sys.package$.error(package.scala:27)
    at distributed.support.sbt.SbtRunner.run(SbtRunner.scala:46)
jsuereth commented 11 years ago

Just a note: This might be a while. I just upgraded sbt-remote-control to 0.13. There's a few changes here, but mostly we need to tweak the build. How soon do you need this? It may be something I need to jump on.

adriaanm commented 11 years ago

Can we have it by september? For now, I guess I'll downgrade the build for scala-xml to sbt 0.12 :-(

jsuereth commented 11 years ago

September = Activator deadline (java one). It'll be a bit rough, with Toni on vacation for most of august. I'll try to get to this ASAP. I'm not sure how much effort is involved in porting the dbuild sbt plugin, but it may hold some hidden "GOTCHA"s, so I'd like to allocate a few weeks to sort things out, just in case.

adriaanm commented 11 years ago

We have a plan b (downgrade builds to 0.12), so this is not a deal breaker.

cunei commented 11 years ago

Implemented in dbuild 0.6.4