-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.sbt
58 lines (43 loc) · 1.5 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
53
54
55
56
57
58
name := "persist-json"
organization := "com.persist"
version := "1.2.0"
scalaVersion := "2.12.0"
scalacOptions ++= Seq("-deprecation", "-unchecked")
viewSettings
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"com.chuusai" %% "shapeless" % "2.3.2",
"org.scalatest" %% "scalatest" % "3.0.0" % "test",
"org.specs2" %% "specs2-core" % "3.8.6" % "test",
"junit" % "junit" % "4.12" % "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")
}
useGpg := true
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:[email protected]:nestorpersist/json.git"))
pomExtra := (
<developers>
<developer>
<id>johnnestor</id>
<name>John Nestor</name>
<email>[email protected]</email>
<url>http://http://www.persist.com</url>
</developer>
<developer>
<id>jedesah</id>
<name>Jean-Remi Desjardins</name>
<email>[email protected]</email>
<url>https://github.com/jedesah</url>
</developer>
</developers>
)