Skip to content

Commit

Permalink
Correct sbt-sonatype publishing configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsacha committed Sep 13, 2019
1 parent e5ca81e commit 7e28fe1
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ lazy val scalaFXExtrasSettings = Seq(
},
autoAPIMappings := true,
manifestSetting,
publishTo := sonatypePublishToBundle.value,
fork in run := true,
fork in Test := true,
parallelExecution in Test := false,
Expand Down Expand Up @@ -152,22 +151,19 @@ lazy val manifestSetting = packageOptions += {
)
}

import xerial.sbt.Sonatype._

// Metadata needed by Maven Central
// See also http://maven.apache.org/pom.html#Developers
lazy val mavenCentralSettings = Seq(
homepage := Some(new URL("http://www.scalafx.org/")),
startYear := Some(2016),
licenses := Seq(("BSD", new URL("https://github.com/scalafx/scalafx-extras/blob/master/LICENSE.txt"))),
pomExtra :=
<scm>
<url>https://github.com/scalafx/scalafx-extras</url>
<connection>scm:git:https://github.com/scalafx/scalafx-extras.git</connection>
</scm>
<developers>
<developer>
<id>jpsacha</id>
<name>Jarek Sacha</name>
<url>https://github.com/jpsacha</url>
</developer>
</developers>
sonatypeProfileName := "org.scalafx",
sonatypeProjectHosting := Some(GitHubHosting("org.scalafx", "scalafx-extras", "[email protected]")),
publishMavenStyle := true,
publishTo := sonatypePublishToBundle.value,
developers := List(
Developer(id="jpsacha", name="Jarek Sacha", email="[email protected]", url=url("https://github.com/jpsacha"))
)
)

0 comments on commit 7e28fe1

Please sign in to comment.