aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/build.scala18
1 files changed, 18 insertions, 0 deletions
diff --git a/build/build.scala b/build/build.scala
new file mode 100644
index 0000000..aa5d27a
--- /dev/null
+++ b/build/build.scala
@@ -0,0 +1,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))
+}