1
- // import SonatypeKeys._
1
+ import SonatypeKeys ._
2
2
3
3
import sbt .Keys ._
4
4
5
- // sonatypeSettings
5
+ sonatypeSettings
6
6
7
7
lazy val root = project.in(file(" ." )).
8
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
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
13
)
14
14
15
15
lazy val demo = (project in file(" demo" ))
@@ -30,7 +30,7 @@ name := "Type-safe and Scala-friendly library over Google Maps"
30
30
31
31
normalizedName := " scalajs-google-maps"
32
32
33
- version := " 0.0.2-SNAPSHOT "
33
+ version := " 0.0.2"
34
34
35
35
organization := " io.surfkit"
36
36
@@ -56,13 +56,13 @@ scmInfo := Some(ScmInfo(
56
56
57
57
publishMavenStyle := true
58
58
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
+ }
66
66
67
67
pomExtra := (
68
68
<developers >
0 commit comments