forked from spaced/scala-js-d3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
52 lines (34 loc) · 1.36 KB
/
build.sbt
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
49
50
51
52
enablePlugins(ScalaJSPlugin)
name := "Scala.js d3"
normalizedName := "scalajs-d3"
organization := "org.singlespaced"
scalaVersion := "2.11.7"
scalacOptions ++= Seq("-deprecation", "-feature")
crossScalaVersions := Seq("2.10.5", "2.11.7")
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "0.8.2"
resolvers += Resolver.jcenterRepo
jsDependencies += "org.webjars" % "d3js" % "3.5.10" / "3.5.10/d3.min.js"
jsDependencies += RuntimeDOM
// uTest settings
libraryDependencies += "com.lihaoyi" %%% "utest" % "0.3.1" % "test"
testFrameworks += new TestFramework("utest.runner.Framework")
// use phantomjs for tests because d3 lib uses not features not supported by rhino
scalaJSStage in Global := FastOptStage
homepage := Some(url("https://github.com/spaced/scala-js-d3"))
licenses += ("BSD New", url("https://github.com/spaced/scala-js-d3/blob/master/LICENSE"))
scmInfo := Some(ScmInfo(
url("https://github.com/spaced/scala-js-d3"),
"scm:git:[email protected]:spaced/scala-js-d3.git",
Some("scm:git:[email protected]:spaced/scala-js-d3.git")))
pomExtra := (
<developers>
<developer>
<id>spaced</id>
<name>Adi Stadelmann</name>
<url>http://singlespaced.org</url>
</developer>
</developers>)
publishMavenStyle := true
releasePublishArtifactsAction := PgpKeys.publishSigned.value
useGpg := true
//bintray.Keys.repository := "maven"