aboutsummaryrefslogtreecommitdiff
path: root/plugins/scalafmt/build/build.scala
blob: 26319089509392c37eeb3a2c933440bdc12bee7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import cbt._

class Build(val context: Context) extends Plugin {
  private val ScalafmtVersion = "0.4.2"

  override def dependencies =
    super.dependencies ++
    Resolver( mavenCentral ).bind(
      ScalaDependency("com.geirsson", "scalafmt", ScalafmtVersion),
      ScalaDependency("com.geirsson", "scalafmt-cli", ScalafmtVersion)
    )
}