aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-07-06 21:36:46 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-07-06 21:44:29 -0400
commitec35ffeba2f5e8a2b1e61c3ba7da4276aa0c8211 (patch)
tree8201467c534c13c9bf395e6b74af2f73893ade75 /build
parentbb7cb00014a0355b067c03423723a309c0acbb87 (diff)
downloadcbt-ec35ffeba2f5e8a2b1e61c3ba7da4276aa0c8211.tar.gz
cbt-ec35ffeba2f5e8a2b1e61c3ba7da4276aa0c8211.tar.bz2
cbt-ec35ffeba2f5e8a2b1e61c3ba7da4276aa0c8211.zip
basic setup to allow publishing cbt
Diffstat (limited to 'build')
-rw-r--r--build/build.scala17
1 files changed, 16 insertions, 1 deletions
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/")
}