Skip to content

Commit 55d77b4

Browse files
committed
fix sonatype stuff
1 parent 7763140 commit 55d77b4

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

build.sbt

+9-7
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ crossScalaVersions := Seq("2.11.12", "2.12.11", "2.13.1")
1919
// for instructions on how to publish to sonatype, see:
2020
// https://github.com/xerial/sbt-sonatype
2121

22-
publishTo := {
23-
val nexus = "https://oss.sonatype.org/"
24-
if (isSnapshot.value)
25-
Some("snapshots" at nexus + "content/repositories/snapshots")
26-
else
27-
Some("releases" at nexus + "service/local/staging/deploy/maven2")
28-
}
22+
//publishTo := {
23+
// val nexus = "https://oss.sonatype.org/"
24+
// if (isSnapshot.value)
25+
// Some("snapshots" at nexus + "content/repositories/snapshots")
26+
// else
27+
// Some("releases" at nexus + "service/local/staging/deploy/maven2")
28+
//}
29+
30+
publishTo := sonatypePublishToBundle.value
2931

3032
pomIncludeRepository := { _ =>
3133
false

project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")
1+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.4")

0 commit comments

Comments
 (0)