Skip to content

Commit ea89ff2

Browse files
committed
0.0.2
1 parent c84b2c3 commit ea89ff2

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

build.sbt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
//import SonatypeKeys._
1+
import SonatypeKeys._
22

33
import sbt.Keys._
44

5-
//sonatypeSettings
5+
sonatypeSettings
66

77
lazy val root = project.in(file(".")).
88
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
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
1313
)
1414

1515
lazy val demo = (project in file("demo"))
@@ -30,7 +30,7 @@ name := "Type-safe and Scala-friendly library over Google Maps"
3030

3131
normalizedName := "scalajs-google-maps"
3232

33-
version := "0.0.2-SNAPSHOT"
33+
version := "0.0.2"
3434

3535
organization := "io.surfkit"
3636

@@ -56,13 +56,13 @@ scmInfo := Some(ScmInfo(
5656

5757
publishMavenStyle := true
5858

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-
//}
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+
}
6666

6767
pomExtra := (
6868
<developers>

0 commit comments

Comments
 (0)