/
build.sbt
51 lines (41 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
name := "liftjson-scalajson-interop"
organization := "me.frmr.jsonutils"
version := "0.2.0"
scalaVersion := "2.12.2"
crossScalaVersions := Seq("2.11.11", "2.12.2")
libraryDependencies ++= Seq(
"net.liftweb" %% "lift-json" % "3.1.0" % "provided",
"org.scala-lang.platform" %% "scalajson" % "1.0.0-M3" % "provided",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test"
)
scalacOptions ++= Seq("-unchecked", "-feature", "-deprecation")
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT")) {
Some("snapshots" at nexus + "content/repositories/snapshots")
} else {
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
}
credentials += Credentials(Path.userHome / ".sonatype")
pomExtra :=
<url>https://github.com/farmdawgnation/lift-newrelic</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/farmdawgnation/liftjson-scalajson-interop.git</url>
<connection>https://github.com/farmdawgnation/liftjson-scalajson-interop.git</connection>
</scm>
<developers>
<developer>
<id>farmdawgnation</id>
<name>Matt Farmer</name>
<email>matt@frmr.me</email>
</developer>
</developers>