-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
59 lines (46 loc) · 1.48 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
57
58
59
name := """scalajs-antdesign"""
version := "0.1.0-SNAPSHOT"
val scalaVersion212 = "2.12.1"
val scalaVersion211 = "2.11.8"
scalaVersion in ThisBuild := scalaVersion211
crossScalaVersions in ThisBuild := Seq(scalaVersion212, scalaVersion211)
organization := "org.mdedetrich"
libraryDependencies ++= Seq(
"ru.pavkin" %%% "scala-js-momentjs" % "0.5.0",
"com.github.japgolly.scalajs-react" %%% "core" % "0.11.3"
)
jsDependencies ++= Seq(
"org.webjars.npm" % "antd" % "2.7.4" / "dist/antd.js" commonJSName "antd"
)
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")
}
publishArtifact in Test := false
pomIncludeRepository := { _ =>
false
}
pomExtra := <url>https://github.com/mdedetrich/scalajs-antdesign</url>
<licenses>
<license>
<name>BSD 3-Clause</name>
<url>https://opensource.org/licenses/BSD-3-Clause</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:mdedetrich/scalajs-antdesign.git</url>
<connection>scm:git:git@github.com:mdedetrich/scalajs-antdesign.git</connection>
</scm>
<developers>
<developer>
<id>mdedetrich</id>
<name>Matthew de Detrich</name>
<email>mdedetrich@gmail.com</email>
</developer>
</developers>
enablePlugins(ScalaJSPlugin)