aboutsummaryrefslogtreecommitdiff
path: root/build/build.scala
blob: 6c55e111a0d577bb903d19529e9fca5f697b88ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import cbt._

class Build(val context: Context) extends Publish{
  // FIXME: somehow consolidate this with cbt's own boot-strapping from source.
  override def dependencies = {
    super.dependencies ++ Resolver(mavenCentral).bind(
      MavenDependency("net.incongru.watchservice","barbary-watchservice","1.0"),
      MavenDependency("org.eclipse.jgit", "org.eclipse.jgit", "4.2.0.201601211800-r"),
      ScalaDependency("org.scala-lang.modules","scala-xml","1.0.5")
    )
  }
  override def sources = Seq(
    "nailgun_launcher", "stage1", "stage2", "compatibility"
  ).map(d => projectDirectory ++ ("/" + d))

  def groupId: String = "org.cvogt"

  def version: String = "0.9"
  def name: String = "cbt"

  // Members declared in cbt.Publish
  def description: String = "Fast, intuitive Build Tool for Scala"
  def developers: Seq[cbt.Developer] = Nil
  def inceptionYear: Int = 2016
  def licenses: Seq[cbt.License] = Seq( License.Apache2 )
  def organization: Option[cbt.Organization] = None
  def scmConnection: String = ""
  def scmUrl: String = ""
  def url: java.net.URL = new java.net.URL("http://github.com/cvogt/cbt/")
}