diff --git a/build.sbt b/build.sbt index 3cfa2cb2..334d88b5 100644 --- a/build.sbt +++ b/build.sbt @@ -18,6 +18,7 @@ import sbt._ import Keys._ import org.typelevel.scalacoptions.JavaMajorVersion.javaMajorVersion +import xerial.sbt.Sonatype.autoImport._ val algebirdVersion = "0.13.10" @@ -56,6 +57,7 @@ val commonSettings = Sonatype.sonatypeSettings ++ releaseSettings ++ Seq( resolvers ++= Resolver.sonatypeOssRepos("snapshots"), // @Todo remove when 0.14.0 released javaOptions := JavaOptions.defaults(javaMajorVersion), scalacOptions ++= Seq("-target:8", "-deprecation", "-feature", "-unchecked", "-Yrangepos"), + test in Test := {}, scalacOptions ++= { if (isScala213x.value) { Seq("-Ymacro-annotations", "-Ywarn-unused") @@ -115,9 +117,12 @@ lazy val releaseSettings = Seq( releasePublishArtifactsAction := PgpKeys.publishSigned.value, publishMavenStyle := true, Test / publishArtifact := false, - publishTo := Some( - if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging - ), + publishTo := { + val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/" + val staging = Some(Resolver.file("local-staging", baseDirectory.value / "target" / "sonatype-staging" / version.value)) + if (isSnapshot.value) Some("central-snapshots" at centralSnapshots) + else staging + }, sonatypeProfileName := "com.spotify", licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")), homepage := Some(url("https://github.com/spotify/ratatool")), @@ -129,31 +134,37 @@ lazy val releaseSettings = Seq( ), developers := List( // current maintainers - Developer( - id = "anne-decusatis", - name = "Anne DeCusatis", - email = "anned@spotify.com", - url = url("https://twitter.com/precisememory") - ), - Developer( - id = "catherinejelder", - name = "Catherine Elder", - email = "siege@spotify.com", - url = url("https://twitter.com/siegeelder") - ), Developer( id = "idreeskhan", name = "Idrees Khan", email = "me@idreeskhan.com", url = url("https://twitter.com/idreesxkhan") ), + Developer( + id = "monzalo14", + name = "Monica Zamudio", + email = "monzalo14@gmail.com", + url = url("https://twitter.com/monnzl") + ), // past contributors + Developer( + id = "anne-decusatis", + name = "Anne DeCusatis", + email = "anned@spotify.com", + url = url("https://twitter.com/precisememory") + ), Developer( id = "sinisa_lyh", name = "Neville Li", email = "neville.lyh@gmail.com", url = url("https://twitter.com/sinisa_lyh") ), + Developer( + id = "catherinejelder", + name = "Catherine Elder", + email = "siege@spotify.com", + url = url("https://twitter.com/siegeelder") + ), Developer( id = "ravwojdyla", name = "Rafal Wojdyla", diff --git a/project/plugins.sbt b/project/plugins.sbt index ef18a84f..f51bfce8 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,6 @@ addDependencyTreePlugin addSbtPlugin("com.github.sbt" % "sbt-avro" % "3.5.1") -addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.20") +addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.23") addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.7") addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0") addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1") diff --git a/version.sbt b/version.sbt index 0eb9e8a7..2e56cd8b 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -ThisBuild / version := "0.4.12-SNAPSHOT" +ThisBuild / version := "0.4.13-SNAPSHOT"