import sbt._ class Plugins(info: ProjectInfo) extends PluginDefinition(info) { // ------------------------------------------------------------------------------------------------------------------- // All repositories *must* go here! See ModuleConigurations below. // ------------------------------------------------------------------------------------------------------------------- object Repositories { // e.g. val akkaRepo = MavenRepository("Akka Repository", "http://akka.io/repository") } // ------------------------------------------------------------------------------------------------------------------- // ModuleConfigurations // Every dependency that cannot be resolved from the built-in repositories (Maven Central and Scala Tools Releases) // must be resolved from a ModuleConfiguration. This will result in a significant acceleration of the update action. // Therefore, if repositories are defined, this must happen as def, not as val. // ------------------------------------------------------------------------------------------------------------------- import Repositories._ val posterousSbtModuleConfig = ModuleConfiguration("net.databinder", ScalaToolsReleases) // ------------------------------------------------------------------------------------------------------------------- // Plugins // ------------------------------------------------------------------------------------------------------------------- val posterousSbt = "net.databinder" % "posterous-sbt" % "0.1.7" }