From ec35ffeba2f5e8a2b1e61c3ba7da4276aa0c8211 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Wed, 6 Jul 2016 21:36:46 -0400 Subject: basic setup to allow publishing cbt --- build/build.scala | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'build') diff --git a/build/build.scala b/build/build.scala index 1b69a14..8770ef6 100644 --- a/build/build.scala +++ b/build/build.scala @@ -1,6 +1,6 @@ import cbt._ -class Build(val context: Context) extends BaseBuild{ +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( @@ -13,4 +13,19 @@ class Build(val context: Context) extends BaseBuild{ override def sources = Seq( "nailgun_launcher", "stage1", "stage2", "compatibility" ).map(d => projectDirectory ++ ("/" + d)) + + def groupId: String = "org.cvogt" + + def defaultVersion: String = "0.1" + 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/") } -- cgit v1.2.3