aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2018-02-15 18:41:06 -0800
committerJakob Odersky <jakob@odersky.com>2018-02-15 18:45:27 -0800
commit4e58073b3708e910091ca393edd05ecf96eaa437 (patch)
treea57327e33ee84f915fcd51db653ca5ca68fe7eea
parentda5479754df5ebf593594b6f5f0b6d5d0692ab6f (diff)
downloadspray-json-derivation-4e58073b3708e910091ca393edd05ecf96eaa437.tar.gz
spray-json-derivation-4e58073b3708e910091ca393edd05ecf96eaa437.tar.bz2
spray-json-derivation-4e58073b3708e910091ca393edd05ecf96eaa437.zip
Separate and fix publishing settingsv0.1.1
-rw-r--r--build.sbt1
-rw-r--r--project/plugins.sbt2
-rw-r--r--project/publish.sbt2
-rw-r--r--publish.sbt28
4 files changed, 30 insertions, 3 deletions
diff --git a/build.sbt b/build.sbt
index 02283ab..bdc4fe2 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,5 +1,4 @@
name := "spray-json-derivation"
-organization := "xyz.driver"
version in ThisBuild := {
import sys.process._
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 8d0ff3c..a1e2f8a 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -1,5 +1,3 @@
ivyLoggingLevel := UpdateLogging.Quiet
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.2.0")
-addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
-addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
diff --git a/project/publish.sbt b/project/publish.sbt
new file mode 100644
index 0000000..1c70137
--- /dev/null
+++ b/project/publish.sbt
@@ -0,0 +1,2 @@
+addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
+addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
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")
+ )
+)