2010-04-16 14:36:51 +02:00
|
|
|
import sbt._
|
|
|
|
|
|
|
|
|
|
class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
|
2010-06-07 15:59:47 +02:00
|
|
|
|
2010-07-20 09:45:09 +02:00
|
|
|
// -------------------------------------------------------------------------------------------------------------------
|
2010-08-18 15:15:22 +02:00
|
|
|
// All repositories *must* go here! See ModuleConigurations below.
|
2010-07-20 09:45:09 +02:00
|
|
|
// -------------------------------------------------------------------------------------------------------------------
|
2010-08-18 15:15:22 +02:00
|
|
|
object Repositories {
|
|
|
|
|
lazy val DatabinderRepo = "Databinder Repository" at "http://databinder.net/repo"
|
|
|
|
|
}
|
2010-07-20 09:45:09 +02:00
|
|
|
|
|
|
|
|
// -------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
// 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.
|
|
|
|
|
// -------------------------------------------------------------------------------------------------------------------
|
2010-08-18 15:15:22 +02:00
|
|
|
import Repositories._
|
2011-04-21 11:22:31 +02:00
|
|
|
lazy val spdeModuleConfig = ModuleConfiguration("us.technically.spde", DatabinderRepo)
|
2010-07-29 17:29:51 +02:00
|
|
|
|
2010-07-20 09:45:09 +02:00
|
|
|
// -------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
// Dependencies
|
|
|
|
|
// -------------------------------------------------------------------------------------------------------------------
|
2011-04-21 11:22:31 +02:00
|
|
|
lazy val bnd4sbt = "com.weiglewilczek.bnd4sbt" % "bnd4sbt" % "1.0.2"
|
|
|
|
|
lazy val spdeSbt = "us.technically.spde" % "spde-sbt-plugin" % "0.4.2"
|
2011-05-18 17:25:30 +02:00
|
|
|
lazy val formatter = "com.github.olim7t" % "sbt-scalariform" % "1.0.3"
|
2010-06-07 15:59:47 +02:00
|
|
|
}
|