aboutsummaryrefslogtreecommitdiff
path: root/build/build.scala
blob: 3d3f75d5495bfe7501efcc9538577eb64f3acacb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import cbt._
import cbt_internal._

class Build(val context: Context) extends Shared with PublishLocal{
  override def name: String = "cbt"
  override def version: String = "0.1"
  override def description: String = "Fast, intuitive Build Tool for Scala"
  override def inceptionYear: Int = 2015

  // FIXME: somehow consolidate this with cbt's own boot-strapping from source.
  override def dependencies = {
    super.dependencies ++ Resolver(mavenCentral).bind(
      MavenDependency("org.eclipse.jgit", "org.eclipse.jgit", "4.2.0.201601211800-r"),
      ScalaDependency("org.scala-lang.modules","scala-xml","1.0.5")
    )
  } :+ libraries.eval

  override def sources = Seq(
    "nailgun_launcher", "stage1", "stage2", "compatibility"
  ).map( projectDirectory / _ ).flatMap( _.listFiles )
}