summaryrefslogtreecommitdiff
path: root/build.sbt
blob: 4e874812232a9f6d7cef26bf8b4ed45e8df8235c (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import sbt.Keys._

name := "workbench"

version := "0.1.2"

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 * "*.js").get}

resolvers += "typesafe" at "http://repo.typesafe.com/typesafe/releases/"

libraryDependencies ++= Seq(
  "io.spray" % "spray-can" % "1.3.1",
  "io.spray" % "spray-routing" % "1.3.1",
  "com.typesafe.akka"   %%  "akka-actor"    % "2.3.0",
  "com.typesafe.play" %% "play-json" % "2.2.2"
)