Skip to content

Commit 5a5bd6d

Browse files
committed
Fix publishing
1 parent 43dfc32 commit 5a5bd6d

2 files changed

Lines changed: 17 additions & 4 deletions

File tree

project/BuildHelper.scala

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,22 @@ object BuildHelper {
5050

5151
val publishSettings: Seq[Setting[_]] = Seq(
5252
organization := "io.github.gaelrenoux",
53-
licenses := Seq ("APL2" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt")),
54-
sonatypeProjectHosting := Some(GitHubHosting("gaelrenoux", "tranzactio", "gael.renoux@gmail.com")),
55-
publishTo := sonatypePublishTo.value,
53+
licenses := Seq(License.Apache2),
54+
scmInfo := Some(ScmInfo(
55+
url("https://github.com/gaelrenoux/tranzactio"),
56+
"scm:git@github.com:gaelrenoux/tranzactio.git"
57+
)),
58+
homepage := Some(url("https://github.com/gaelrenoux/tranzactio")),
59+
developers := List(
60+
Developer(
61+
id = "gaelrenoux",
62+
name = "Gaël Renoux",
63+
email = "gael.renoux@gmail.com",
64+
url = url("https://github.com/gaelrenoux")
65+
)
66+
),
67+
publishTo := sonatypePublishToBundle.value,
68+
sonatypeCredentialHost := sonatypeCentralHost
5669
)
5770

5871
}

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ logLevel := Level.Warn
44
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
55

66
/* Publishing */
7-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21")
7+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")
88
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2")
99
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1")

0 commit comments

Comments
 (0)