diff options
-rw-r--r-- | build.sbt | 2 | ||||
-rw-r--r-- | project/publish.sbt | 2 | ||||
-rw-r--r-- | publish.sbt | 34 |
3 files changed, 36 insertions, 2 deletions
@@ -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) |