Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 26 additions & 15 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import sbt._
import Keys._
import org.typelevel.scalacoptions.JavaMajorVersion.javaMajorVersion
import xerial.sbt.Sonatype.autoImport._

val algebirdVersion = "0.13.10"

Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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")),
Expand All @@ -129,31 +134,37 @@ lazy val releaseSettings = Seq(
),
developers := List(
// current maintainers
Developer(
id = "anne-decusatis",
name = "Anne DeCusatis",
email = "[email protected]",
url = url("https://twitter.com/precisememory")
),
Developer(
id = "catherinejelder",
name = "Catherine Elder",
email = "[email protected]",
url = url("https://twitter.com/siegeelder")
),
Developer(
id = "idreeskhan",
name = "Idrees Khan",
email = "[email protected]",
url = url("https://twitter.com/idreesxkhan")
),
Developer(
id = "monzalo14",
name = "Monica Zamudio",
email = "[email protected]",
url = url("https://twitter.com/monnzl")
),
// past contributors
Developer(
id = "anne-decusatis",
name = "Anne DeCusatis",
email = "[email protected]",
url = url("https://twitter.com/precisememory")
),
Developer(
id = "sinisa_lyh",
name = "Neville Li",
email = "[email protected]",
url = url("https://twitter.com/sinisa_lyh")
),
Developer(
id = "catherinejelder",
name = "Catherine Elder",
email = "[email protected]",
url = url("https://twitter.com/siegeelder")
),
Developer(
id = "ravwojdyla",
name = "Rafal Wojdyla",
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ThisBuild / version := "0.4.12-SNAPSHOT"
ThisBuild / version := "0.4.13-SNAPSHOT"