-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
46 lines (30 loc) · 999 Bytes
/
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
import scala.util.Try
import bintray.Keys._
name := "naive-json"
organization := "io.shaka"
version := Try(sys.env("LIB_VERSION")).getOrElse("1")
scalaVersion := "2.11.1"
crossScalaVersions := Seq("2.10.4", "2.11.1")
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.0" % "test"
)
pgpPassphrase := Some(Try(sys.env("SECRET")).getOrElse("goaway").toCharArray)
pgpSecretRing := file("./publish/sonatype.asc")
bintrayPublishSettings
repository in bintray := "repo"
bintrayOrganization in bintray := None
publishMavenStyle := true
publishArtifact in Test := false
homepage := Some(url("https://github.com/timt/naive-json"))
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0.html"))
pomExtra := (
<scm>
<url>git@github.com:timt/naive-json.git</url>
<connection>scm:git:git@github.com:timt/naive-json.git</connection>
</scm>
<developers>
<developer>
<id>timt</id>
</developer>
</developers>
)