From 4e58073b3708e910091ca393edd05ecf96eaa437 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Thu, 15 Feb 2018 18:41:06 -0800 Subject: Separate and fix publishing settings --- publish.sbt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 publish.sbt (limited to 'publish.sbt') diff --git a/publish.sbt b/publish.sbt new file mode 100644 index 0000000..6138764 --- /dev/null +++ b/publish.sbt @@ -0,0 +1,28 @@ +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/spray-json-derivation")) +publishMavenStyle in ThisBuild := true +publishTo := Some( + if (isSnapshot.value) + Opts.resolver.sonatypeSnapshots + else + Opts.resolver.sonatypeStaging +) + +scmInfo := Some( + ScmInfo( + url("https://github.com/drivergroup/spray-json-derivation"), + "scm:git@github.com:drivergroup/spray-json-derivation.git" + ) +) + +developers := List( + Developer( + id = "jakob@driver.xyz", + name = "Jakob Odersky", + email = "jakob@driver.xyz", + url = url("https://driver.xyz") + ) +) -- cgit v1.2.3