forked from spray/spray-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
52 lines (36 loc) · 1.35 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name := "reming-json"
version := "0.0.9"
organization := "com.github.jkinkead"
description := "An AST-free Scala library for JSON marshalling, based on spray-json"
homepage := Some(new URL("https://github.com/jkinkead/reming"))
startYear := Some(2015)
licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
scalaVersion := "2.11.5"
scalacOptions ++= Seq("-feature", "-language:_", "-unchecked", "-deprecation", "-encoding", "utf8")
resolvers += Opts.resolver.sonatypeReleases
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test"
crossScalaVersions := Seq("2.10.4", "2.11.2")
scalaBinaryVersion <<= scalaVersion(sV => if (CrossVersion.isStable(sV)) CrossVersion.binaryScalaVersion(sV) else sV)
publishMavenStyle := true
pomIncludeRepository := { _ => false }
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) {
Some("snapshots" at nexus + "content/repositories/snapshots")
} else {
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
}
pomExtra := {
<scm>
<url>git@github.com:jkinkead/reming.git</url>
<connection>scm:git:git@github.com:jkinkead/reming.git</connection>
</scm>
<developers>
<developer>
<id>jkinkead</id>
<name>Jesse Kinkead</name>
<url>https://github.com/jkinkead/</url>
</developer>
</developers>
}