cbt icon indicating copy to clipboard operation
cbt copied to clipboard

embedding SBT builds

Open cvogt opened this issue 9 years ago • 4 comments

It would be great to be able to embed projects built with SBT as subprojects into CBT builds. This will allow to depend on SBT projects by source, (once we have GIT dependencies, which I'll start working on tonight).

This shouldn't be too hard actually. A cbt.Dependency subclass that delegates to a SBT build under the hood should do it.

Somebody with solid SBT knowledge wanna pick this up :)? @clhodapp @MasseGuillaume ?

cvogt avatar Mar 08 '16 16:03 cvogt

sbt 1.0 will have a client - server architecture and sbt-remote-control has something similar already.

sbt dependsOn work by publishing artifact locally. You could do the same thing with the above api.

MasseGuillaume avatar Mar 08 '16 16:03 MasseGuillaume

how about an sbt plugin to allow embedding cbt (sub-projects?) within sbt?

ScalaWilliam avatar Jun 18 '16 08:06 ScalaWilliam

@ScalaWilliam yeah thought about it as well. just created a ticket for that: https://github.com/cvogt/cbt/issues/149

cvogt avatar Jun 18 '16 16:06 cvogt

I experimented with calling sbt programmatically from cbt here: https://github.com/cvogt/cbt-sbt But it wasn't faster than calling it from the command line if I recall correctly. There also were probably also some other unresolved issues still.

cvogt avatar Mar 11 '17 17:03 cvogt