aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")
+ )
+)