SBT •  GitHubGoogle Group
WikiSearch Wiki

Search entire GitHub projectSearch source code

ScalaDocSearch ScalaDOc

Configuration examplesFAQSBT ExtrasLauncher

Change history

sbt, IDEA and Eclipse • Josh Suereth's SBT CookbookExamples


Typesafe Artifactory

Community Repository Artifactory

Dueling SBT Versions

You can have ~/.sbt-0.11/plugins/plugins.sbt for SBT 0.11 and ~/.sbt-0.12/plugins/plugins.sbt for SBT 0.12. That's crucial when working with two or more versions of sbt.

You can configure the SBT global base directory using the system property like this:

exec java ${SBT_OPTS} -jar ~/tools/sbt/sbt-0.11.3-2/sbt-launch.jar "$@"

Popular Plugins

  • akka-sbt-plugin - Builds an Akka kernel project
  • conscript-plugin - Makes it easier to write programs that use conscript.
  • dependencyReport - Lists all dependencies (direct and transitive) of an SBT project
  • sbt-assembly - Build executable jar with all dependencies
  • sbt-dependency-graph - display an ASCII graph of hierarchical direct and transitive dependencies
  • sbt-dirty-money - clean your Ivy2 cache. If you use publish-local to test plugins and libraries, and you find yourself clearing the Ivy2 cache often, this is a tool for you.
  • sbt-eclipse Eclipse integration • Google Group
  • sbt-idea IntelliJ IDEA integration
    resolvers += "Sonatype snapshots" at ""
    addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.5.1")
  • sbt-release - provides a customizable release process that you can add to your project.
  • xsbt-proguard-plugin facilitate the use of ProGuard to create single jars, which can optionally be optimized.
  • xsbt-start-script-plugin - generate script to runs the project in-place, without having to build a package first or even to run SBT.