forked from sjrd/scala-js-jquery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
53 lines (37 loc) · 1.23 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
lazy val root = project.in(file(".")).
enablePlugins(ScalaJSPlugin)
name := "Scala.js jQuery"
normalizedName := "scalajs-jquery"
version := "0.8.1-SNAPSHOT"
organization := "be.doeraene"
scalaVersion := "2.11.5"
crossScalaVersions := Seq("2.10.4", "2.11.5")
libraryDependencies +=
"org.scala-js" %%% "scalajs-dom" % "0.8.0"
jsDependencies +=
"org.webjars" % "jquery" % "2.1.3" / "2.1.3/jquery.js"
jsDependencies in Test += RuntimeDOM
homepage := Some(url("http://scala-js.org/"))
licenses += ("BSD 3-Clause", url("http://opensource.org/licenses/BSD-3-Clause"))
scmInfo := Some(ScmInfo(
url("https://github.com/scala-js/scala-js-jquery"),
"scm:git:git@github.com:scala-js/scala-js-jquery.git",
Some("scm:git:git@github.com:scala-js/scala-js-jquery.git")))
publishMavenStyle := true
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")
}
pomExtra := (
<developers>
<developer>
<id>sjrd</id>
<name>Sébastien Doeraene</name>
<url>https://github.com/sjrd/</url>
</developer>
</developers>
)
pomIncludeRepository := { _ => false }