aboutsummaryrefslogblamecommitdiff
path: root/build/build.scala
blob: 496acdcfef08bbd83884096439a5c51034fc09d3 (plain) (tree)
1
2
3
4
5
6
7
8
9
            

                     
                                                                   
                                   
                                      

                                                                           
 
                                                                               
                               
                                                      
                                                                                      
                                                                                     
     
                     
 
                             
                                                           
                                                       
 
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",constants.scalaXmlVersion)
    )
  } :+ libraries.eval

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