forked from nestorpersist/json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
52 lines (40 loc) · 1.41 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 := "persist-json"
organization := "com.persist"
version := "0.21"
scalaVersion := "2.11.1"
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"com.chuusai" %% "shapeless" % "2.0.0",
"org.scalatest" %% "scalatest" % "2.2.1" % "test",
"org.specs2" %% "specs2" % "2.4.2" % "test",
"junit" % "junit" % "4.11" % "test"
)
publishTo <<= version { v: String =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
homepage := Some(url("https://github.com/nestorpersist/json"))
scmInfo := Some(ScmInfo(url("https://github.com/nestorpersist/json"), "scm:git@github.com:nestorpersist/json.git"))
pomExtra := (
<developers>
<developer>
<id>johnnestor</id>
<name>John Nestor</name>
<email>nestor@persist.com</email>
<url>http://http://www.persist.com</url>
</developer>
<developer>
<id>jedesah</id>
<name>Jean-Remi Desjardins</name>
<email>jeanremi.desjardins@gmail.com</email>
<url>https://github.com/jedesah</url>
</developer>
</developers>
)