Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Update sonatype settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mnogu committed Jul 12, 2020
1 parent 817b5ec commit 5661fde
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 24 deletions.
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ logLevel := Level.Warn

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
27 changes: 27 additions & 0 deletions publish.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/mnogu/gatling-kafka"),
"scm:git:github.com/mnogu/gatling-kafka.git"
)
)
ThisBuild / developers := List(
Developer(
id = "mnogu",
name = "Muneyuki Noguchi",
email = "[email protected]",
url = url("https://github.com/mnogu")
)
)

ThisBuild / description := "Some descripiton about your project."
ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url("https://github.com/mnogu/gatling-kafka"))

// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
ThisBuild / publishMavenStyle := true
23 changes: 0 additions & 23 deletions sonatype.sbt

This file was deleted.

0 comments on commit 5661fde

Please sign in to comment.