Skip to content

Commit a26e206

Browse files
committed
fixed sonatype publishing
1 parent 158d979 commit a26e206

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

build.sbt

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,26 @@ inThisBuild(Seq(
1717
"-Xfuture",
1818
"-Xfatal-warnings",
1919
"-Xlint:_,-missing-interpolator,-adapted-args"
20-
),
20+
)
21+
))
22+
23+
val silencerVersion = "0.3"
24+
val guavaVersion = "14.0.1"
25+
val jsr305Version = "3.0.0"
26+
val scalatestVersion = "2.2.5"
27+
val upickleVersion = "0.3.6"
28+
val jettyVersion = "8.1.17.v20150415"
29+
val mongoVersion = "3.2.2"
30+
31+
val commonSettings = Seq(
32+
sonatypeProfileName := "com.avsystem",
33+
publishTo := {
34+
val nexus = "https://oss.sonatype.org/"
35+
if (isSnapshot.value)
36+
Some("snapshots" at nexus + "content/repositories/snapshots")
37+
else
38+
Some("releases" at nexus + "service/local/staging/deploy/maven2")
39+
},
2140

2241
projectInfo := ModuleInfo(
2342
nameFormal = "AVSystem commons",
@@ -46,25 +65,6 @@ inThisBuild(Seq(
4665
<url>https://github.com/ghik</url>
4766
</developer>
4867
</developers>
49-
}
50-
))
51-
52-
val silencerVersion = "0.3"
53-
val guavaVersion = "14.0.1"
54-
val jsr305Version = "3.0.0"
55-
val scalatestVersion = "2.2.5"
56-
val upickleVersion = "0.3.6"
57-
val jettyVersion = "8.1.17.v20150415"
58-
val mongoVersion = "3.2.2"
59-
60-
val commonSettings = Seq(
61-
sonatypeProfileName := "com.avsystem",
62-
publishTo := {
63-
val nexus = "https://oss.sonatype.org/"
64-
if (isSnapshot.value)
65-
Some("snapshots" at nexus + "content/repositories/snapshots")
66-
else
67-
Some("releases" at nexus + "service/local/staging/deploy/maven2")
6868
},
6969

7070
(publishArtifact in packageDoc) := false,

0 commit comments

Comments
 (0)