Skip to content

Commit 22fdb4d

Browse files
committed
private maven
1 parent aa68229 commit 22fdb4d

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

build.sbt

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
import SonatypeKeys._
1+
//import SonatypeKeys._
22

33
import sbt.Keys._
44

5-
sonatypeSettings
5+
//sonatypeSettings
66

77
lazy val root = project.in(file(".")).
8-
enablePlugins(ScalaJSPlugin)
8+
enablePlugins(ScalaJSPlugin).settings(
9+
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials"),
10+
resolvers += "NextWave Repo" at "http://maxdevmaster.cloudapp.net:4343/artifactory/nxtwv-maven/",
11+
publishTo := Some("NextWave Repo" at "http://maxdevmaster.cloudapp.net:4343/artifactory/nxtwv-maven/")
12+
//publishMavenStyle := true
13+
)
914

1015
lazy val demo = (project in file("demo"))
1116
.settings(demoSettings:_*)
@@ -34,11 +39,9 @@ scalaVersion := "2.11.6"
3439
crossScalaVersions := Seq("2.10.4", "2.11.5")
3540

3641
libraryDependencies ++= Seq(
37-
"org.scala-js" %%% "scalajs-dom" % "0.8.0"
42+
"org.scala-js" %%% "scalajs-dom" % "0.9.0"
3843
)
3944

40-
//jsDependencies += "org.webjars" % "flux" % "2.0.2" / "Flux.js"
41-
4245
jsDependencies in Test += RuntimeDOM
4346

4447
homepage := Some(url("http://www.surfkit.io/"))
@@ -50,15 +53,16 @@ scmInfo := Some(ScmInfo(
5053
"scm:git:git@github.com/coreyauger/scalajs-google-maps.git",
5154
Some("scm:git:git@github.com:coreyauger/scalajs-google-maps.git")))
5255

56+
5357
publishMavenStyle := true
5458

55-
publishTo := {
56-
val nexus = "https://oss.sonatype.org/"
57-
if (isSnapshot.value)
58-
Some("snapshots" at nexus + "content/repositories/snapshots")
59-
else
60-
Some("releases" at nexus + "service/local/staging/deploy/maven2")
61-
}
59+
//publishTo := {
60+
// val nexus = "https://oss.sonatype.org/"
61+
// if (isSnapshot.value)
62+
// Some("snapshots" at nexus + "content/repositories/snapshots")
63+
// else
64+
// Some("releases" at nexus + "service/local/staging/deploy/maven2")
65+
//}
6266

6367
pomExtra := (
6468
<developers>

0 commit comments

Comments
 (0)