From 0bbbef2eae7337173987144ee2b2fefb0da53606 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Thu, 5 Oct 2017 13:23:45 -0700 Subject: Add publish settings --- build.sbt | 2 -- project/publish.sbt | 2 ++ publish.sbt | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 project/publish.sbt create mode 100644 publish.sbt diff --git a/build.sbt b/build.sbt index 90f421d..5b9ea39 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,5 @@ scalaVersion := "2.12.3" -organization := "xyz.driver" - libraryDependencies ++= Seq( "com.pauldijou" %% "jwt-core" % "0.14.0", "com.typesafe.akka" %% "akka-http" % "10.0.10", diff --git a/project/publish.sbt b/project/publish.sbt new file mode 100644 index 0000000..2f35a0c --- /dev/null +++ b/project/publish.sbt @@ -0,0 +1,2 @@ +addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0") +addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0") diff --git a/publish.sbt b/publish.sbt new file mode 100644 index 0000000..31c76f1 --- /dev/null +++ b/publish.sbt @@ -0,0 +1,34 @@ +organization := "xyz.driver" +licenses in ThisBuild := Seq( + ("Apache 2.0", url("https://www.apache.org/licenses/LICENSE-2.0"))) +homepage in ThisBuild := Some(url("https://github.com/drivergroup/tracing")) +publishMavenStyle in ThisBuild := true +publishTo in ThisBuild := { + val nexus = "https://oss.sonatype.org/" + Some("releases" at nexus + "service/local/staging/deploy/maven2") +} + +scmInfo := Some( + ScmInfo( + url("https://github.com/drivergroup/tracing"), + "scm:git@github.com:drivergroup/tracing.git" + ) +) + +developers := List( + Developer( + id = "jakob@driver.xyz", + name = "Jakob Odersky", + email = "jakob@driver.xyz", + url = url("https://driver.xyz") + ), + Developer( + id = "john@driver.xyz", + name = "John St john", + email = "john@driver.xyz", + url = url("https://driver.xyz") + ) +) + +useGpg := true +pgpSigningKey := Some(0x1E373AB444C7D4C7l) -- cgit v1.2.3