From ce14b2cdd97452e6213eea9222642402af1093be Mon Sep 17 00:00:00 2001 From: Brian Scully Date: Mon, 14 Aug 2023 08:52:23 -0400 Subject: [PATCH] Fixes for publish of non-snapshot version --- build.sbt | 28 +++++++++++++++++++++------- project/build.properties | 2 +- sonatype.sbt | 30 ------------------------------ 3 files changed, 22 insertions(+), 38 deletions(-) delete mode 100644 sonatype.sbt diff --git a/build.sbt b/build.sbt index b3ad3a29..7d98409e 100644 --- a/build.sbt +++ b/build.sbt @@ -1,3 +1,5 @@ +publish / skip := true + val scala212V = "2.12.18" val scala213V = "2.13.11" @@ -35,17 +37,29 @@ val commonDeps = Seq( lazy val Ci = config("ci").extend(Test) +ThisBuild / organization := "com.github.scullxbones" ThisBuild / scalaVersion := scalaV +ThisBuild / versionScheme := Some("semver-spec") import xerial.sbt.Sonatype._ -inThisBuild(List( - organization := "com.github.scullxbones", - homepage := Some(url("https://github.com/scullxbones/pekko-persistence-mongo")), - licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), - sonatypeProjectHosting := Some(GitHubHosting("scullxbones", "pekko-persistence-mongo", "scullduggery@gmail.com")), - scalaVersion := scalaV -)) +ThisBuild / sonatypeProjectHosting := Some(GitHubHosting("scullxbones", "pekko-persistence-mongo", "scullduggery@gmail.com")) +ThisBuild / licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")) +ThisBuild / developers := List( + Developer( + "scullxbones", + "Brian Scully", + "@scullxbones", + url("https://github.com/scullxbones/") + ), + Developer( + "thjaeckle", + "Thomas Jäckle", + "@thjaeckle", + url("https://github.com/thjaeckle/") + ) + ) +ThisBuild / homepage := Some(url("https://github.com/scullxbones/pekko-persistence-mongo")) val commonSettings = Seq( scalaVersion := scalaV, diff --git a/project/build.properties b/project/build.properties index 46e43a97..72413de1 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.8.2 +sbt.version=1.8.3 diff --git a/sonatype.sbt b/sonatype.sbt deleted file mode 100644 index 064d50bd..00000000 --- a/sonatype.sbt +++ /dev/null @@ -1,30 +0,0 @@ -publishMavenStyle := true - -licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")) - -pomExtra in Global := { - https://github.com/scullxbones/pekko-persistence-mongo - - - Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.txt - - - - scm:git:github.com/scullxbones/pekko-persistence-mongo.git - scm:git:git@github.com:scullxbones/pekko-persistence-mongo.git - github.com/scullxbones/pekko-persistence-mongo.git - - - - scullxbones - Brian Scully - https://github.com/scullxbones/ - - - thjaeckle - Thomas Jäckle - https://github.com/thjaeckle/ - - -}