aboutsummaryrefslogtreecommitdiff
path: root/build/build.scala
blob: aa5d27ab9b311eab943466cbf98035246dceae9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import cbt._
import java.net.URL
import java.io.File
import scala.collection.immutable.Seq

class Build(context: Context) extends BasicBuild(context){
  // FIXME: somehow consolidate this with cbt's own boot-strapping from source.
  override def dependencies = super.dependencies ++ Seq(
    JavaDependency("org.scala-lang","scala-library",constants.scalaVersion),
    JavaDependency("net.incongru.watchservice","barbary-watchservice","1.0"),
    JavaDependency("org.eclipse.jgit", "org.eclipse.jgit", "4.2.0.201601211800-r"),
    JavaDependency("com.typesafe.zinc","zinc","0.3.9"),
    ScalaDependency("org.scala-lang.modules","scala-xml","1.0.5")
  )
  override def sources = Seq(
    "nailgun_launcher", "stage1", "stage2"
  ).map(d => projectDirectory ++ ("/" + d))
}