-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
52 lines (38 loc) · 1.22 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
lazy val root = project.in(file(".")).
enablePlugins(ScalaJSPlugin).
settings(
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.0"
)
)
name := "Scala.js OpenUI5"
normalizedName := "scalajs-openui5"
version := "0.1.0-SNAPSHOT"
organization := "com.lastsys"
scalaVersion := "2.11.8"
crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.4")
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings")
//homepage := Some(url("http://somewhere"))
licenses += ("MIT", url("http://opensource.org/licenses/mit-license.php"))
scmInfo := Some(ScmInfo(
url("https://github.com/scala-js/scala-js-openui5"),
"scm:git:[email protected]:scala-js/scala-js-openui5.git",
Some("scm:git:[email protected]:scala-js/scala-js-openui5.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>lastsys</id>
<name>Stefan Larsson</name>
<url>https://github.com/lastsys/</url>
</developer>
</developers>
pomIncludeRepository := { _ ⇒ false }