3 ms·
version 1.0 of sbt should be released soon (latest stable is at 13.13 which has been out for several months, and 1.0 has been the parallel dev release). we hav
by doug1001 10y ago
version 1.0 of sbt should be released soon (latest stable is at 13.13 which has been out for several months, and 1.0 has been the parallel dev release).
we have noticed major improvements in stability, in the api, and in the community plugins from say 0.11 to now.
shortcomings aside, there are a few things sbt does much better than maven and gradle, and which we rely for our builds.
cross-compilation: One of them relates to binary-incompatability between major scala versions, hence the need to cross-compile. Sbt lets specify this direction in the build definition ('crossScalaVersions' is a built-in setting). The dependencies for each version automatically get picked up
quicker development cycles using sbt's interactive environment; compiling Scala source is time consuming; this latency can be pretty substantially reduced by working interactively, eg, one way to take advantage of this is to enter the sbt console mode and then preface tasks with a tilde '~' which will re-execte the task when the source)changes.