-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathbuild.sbt
55 lines (41 loc) · 1.4 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
lazy val root = project.in(file(".")).
enablePlugins(ScalaJSPlugin)
crossScalaVersions in ThisBuild := {
val allVersions = Seq("2.12.10", "2.11.12", "2.10.7", "2.13.1")
if (scalaJSVersion.startsWith("0.6."))
allVersions
else
allVersions.filter(!_.startsWith("2.10."))
}
scalaVersion in ThisBuild := (crossScalaVersions in ThisBuild).value.head
name := "Scala.js jQuery"
normalizedName := "scalajs-jquery"
version := "1.0.1-SNAPSHOT"
organization := "be.doeraene"
libraryDependencies +=
"org.scala-js" %%% "scalajs-dom" % "1.0.0"
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings")
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:[email protected]:scala-js/scala-js-jquery.git",
Some("scm:git:[email protected]: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 }