-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.sbt
56 lines (44 loc) · 1.34 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
53
54
55
56
name := "scalajs-d3"
description := "D3.js bindings for Scala.js."
organization := "com.greencatsoft"
version := "0.3-SNAPSHOT"
scalaVersion := "2.12.4"
scalacOptions ++= Seq("-feature","-deprecation")
homepage := Some(url("http://github.com/greencatsoft/scalajs-d3"))
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.2")
publishTo := {
val nexus = "https://oss.sonatype.org/"
if(isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishMavenStyle := true
pomIncludeRepository := { _ => false }
lazy val root = project.in(file(".")).enablePlugins(ScalaJSPlugin)
pomExtra := (
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:greencatsoft/scalajs-d3.git</url>
<connection>scm:git:[email protected]:greencatsoft/scalajs-d3.git</connection>
</scm>
<developers>
<developer>
<id>mysticfall</id>
<name>Xavier Cho</name>
<url>http://github.com/mysticfall</url>
</developer>
<developer>
<id>mmx900</id>
<name>Setzer Kim</name>
<url>https://github.com/mmx900</url>
</developer>
</developers>
)