aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@driver.xyz>2017-10-05 13:23:45 -0700
committerJakob Odersky <jakob@driver.xyz>2017-10-05 13:23:58 -0700
commit0bbbef2eae7337173987144ee2b2fefb0da53606 (patch)
tree815f16ec4a79d5d76212797845040e6f99a913dd
parent388842a4afab4d88ae9ea110a310cc72f840a71a (diff)
downloadtracing-0bbbef2eae7337173987144ee2b2fefb0da53606.tar.gz
tracing-0bbbef2eae7337173987144ee2b2fefb0da53606.tar.bz2
tracing-0bbbef2eae7337173987144ee2b2fefb0da53606.zip
Add publish settings
-rw-r--r--build.sbt2
-rw-r--r--project/publish.sbt2
-rw-r--r--publish.sbt34
3 files changed, 36 insertions, 2 deletions
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)