summaryrefslogtreecommitdiff
path: root/publish.sbt
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2018-04-08 21:36:09 -0700
committerJakob Odersky <jakob@odersky.com>2019-06-10 23:22:17 +0200
commitb97d9b4be7d57b16e9d2faa8998d87ecde75fd35 (patch)
treeb7af4fe7857168b29c2593e151652c3964e808d5 /publish.sbt
parenta43a10a12fd5653e6050c652024764416b71ab54 (diff)
downloadspray-json-b97d9b4be7d57b16e9d2faa8998d87ecde75fd35.tar.gz
spray-json-b97d9b4be7d57b16e9d2faa8998d87ecde75fd35.tar.bz2
spray-json-b97d9b4be7d57b16e9d2faa8998d87ecde75fd35.zip
Fork: rename organizationv1.3.5-5
Diffstat (limited to 'publish.sbt')
-rw-r--r--publish.sbt18
1 files changed, 11 insertions, 7 deletions
diff --git a/publish.sbt b/publish.sbt
index 4dfcd29..3c2ade7 100644
--- a/publish.sbt
+++ b/publish.sbt
@@ -1,12 +1,11 @@
inThisBuild(Seq(
- organization := "io.spray",
- organizationHomepage := Some(new URL("http://spray.io")),
+ organization := "io.crashbox",
+ organizationHomepage := Some(new URL("https://crashbox.io")),
description := "A Scala library for easy and idiomatic JSON (de)serialization",
- homepage := Some(new URL("https://github.com/spray/spray-json")),
+ homepage := Some(new URL("https://github.com/jodersky/spray-json")),
startYear := Some(2011),
licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")),
publishMavenStyle := true,
- useGpg := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
@@ -17,11 +16,16 @@ inThisBuild(Seq(
pomIncludeRepository := { _ => false },
pomExtra :=
<scm>
- <url>git://github.com/spray/spray.git</url>
- <connection>scm:git:git@github.com:spray/spray.git</connection>
+ <url>git://github.com/jodersky/spray-json.git</url>
+ <connection>scm:git:git@github.com:jodersky/spray-json.git</connection>
</scm>
<developers>
<developer><id>sirthias</id><name>Mathias Doenitz</name></developer>
<developer><id>jrudolph</id><name>Johannes Rudolph</name></developer>
- </developers>
+ <developer><id>jodersky</id><name>Jakob Odersky</name></developer>
+ </developers>,
+ version := {
+ import sys.process._
+ ("git describe --always --dirty=-SNAPSHOT --match v[0-9].*" !!).tail.trim
+ }
))