File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -30,3 +30,38 @@ scalaJSUseRhino in Test := false
3030
3131lazy val root = project.in(file(" ." ))
3232 .enablePlugins(ScalaJSPlugin )
33+
34+ // Deployment configuration
35+ publishMavenStyle := true
36+ publishArtifact in Test := false
37+ pomIncludeRepository := { _ => false }
38+
39+ publishTo := {
40+ val nexus = " https://oss.sonatype.org/"
41+ if (isSnapshot.value)
42+ Some (" snapshots" at nexus + " content/repositories/snapshots" )
43+ else
44+ Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
45+ }
46+
47+ pomExtra := {
48+ <url >https:// github.com/ UdashFramework / scala- js- jquery</url >
49+ <licenses >
50+ <license >
51+ <name >Apache v.2 License </name >
52+ <url >http:// www.apache.org/ licenses/ LICENSE - 2.0 .txt</url >
53+ <distribution >repo</distribution >
54+ </license >
55+ </licenses >
56+ <scm >
57+ <url >git@ github.com: UdashFramework / scala- js- jquery.git</url >
58+ <connection >scm: git@ github.com: UdashFramework / scala- js- jquery.git</connection >
59+ </scm >
60+ <developers >
61+ <developer >
62+ <id >avsystem</id >
63+ <name >AVSystem </name >
64+ <url >http:// www.avsystem.com/</ url>
65+ </developer >
66+ </developers >
67+ }
Original file line number Diff line number Diff line change 11logLevel := Level .Warn
22
33addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.9" )
4+
5+ // Deployment configuration
6+ addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.0.0" )
7+ addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 1.1" )
You can’t perform that action at this time.
0 commit comments