-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.sbt
51 lines (46 loc) · 1.43 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
sonatypeSettings
name := "paper-scala-js"
version := "0.5-SNAPSHOT"
scalaVersion := "2.11.7"
organization := "com.github.yoeluk"
enablePlugins(ScalaJSPlugin)
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-encoding", "UTF-8",
"-language:implicitConversions",
"-language:reflectiveCalls"
)
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "0.8.1"
jsDependencies += "org.webjars" % "paperjs" % "0.9.22" / "paper-full.min.js" commonJSName "paper"
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
publishTo <<= version { v: String =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra := {
<url>https://github.com/yoeluk/paper-scala-js</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>https://github.com/yoeluk/paper-scala-js.git</connection>
<developerConnection>scm:git:[email protected]:yoeluk/paper-scala-js.git</developerConnection>
<url>github.com/yoeluk/paper-scala-js</url>
</scm>
<developers>
<developer>
<id>yoeluk</id>
<name>Yoel RGD</name>
<url>https://github.com/yoeluk/</url>
</developer>
</developers>
}