summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt35
1 files changed, 31 insertions, 4 deletions
diff --git a/build.sbt b/build.sbt
index 832ae09..dc6e303 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,15 +1,41 @@
import sbt.Keys._
-lazy val root = project.in(file(".")).dependsOn(uri("git://github.com/lihaoyi/SprayWebSockets.git"))
-
name := "workbench"
-version := "0.1-SNAPSHOT"
+version := "0.1"
-organization := "com.lihaoyi.workbench"
+organization := "com.lihaoyi"
sbtPlugin := true
+// Sonatype
+publishArtifact in Test := false
+
+publishTo <<= version { (v: String) =>
+ Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
+}
+
+pomExtra := (
+ <url>https://github.com/lihaoyi/workbench</url>
+ <licenses>
+ <license>
+ <name>MIT license</name>
+ <url>http://www.opensource.org/licenses/mit-license.php</url>
+ </license>
+ </licenses>
+ <scm>
+ <url>git://github.com/lihaoyi/workbench.git</url>
+ <connection>scm:git://github.com/lihaoyi/workbench.git</connection>
+ </scm>
+ <developers>
+ <developer>
+ <id>lihaoyi</id>
+ <name>Li Haoyi</name>
+ <url>https://github.com/lihaoyi</url>
+ </developer>
+ </developers>
+ )
+
(resources in Compile) := {(resources in Compile).value ++ (baseDirectory.value * "*.ts").get}
resolvers += "spray repo" at "http://repo.spray.io"
@@ -18,6 +44,7 @@ resolvers += "typesafe" at "http://repo.typesafe.com/typesafe/releases/"
libraryDependencies ++= Seq(
"io.spray" % "spray-can" % "1.2.0",
+ "io.spray" % "spray-routing" % "1.2.0",
"com.typesafe.akka" %% "akka-actor" % "2.2.3",
"com.typesafe.play" %% "play-json" % "2.2.0-RC1"
)