-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.sbt
53 lines (34 loc) · 1.4 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
import bintray.Keys.{bintray, bintrayOrganization, repository}
import scala.util.Try
name := "scala-embedded-jetty"
organization := "io.shaka"
version := Try(sys.env("LIB_VERSION")).getOrElse("1")
scalaVersion := "2.12.0"
crossScalaVersions := Seq("2.11.8", "2.12.0")
val jettyVersion = "9.2.11.v20150529"
externalResolvers := Seq("Bintray JCenter" at "https://jcenter.bintray.com/")
libraryDependencies ++= Seq(
"org.eclipse.jetty" % "jetty-webapp" % jettyVersion % "provided",
"org.eclipse.jetty" % "jetty-servlets" % jettyVersion % "provided",
"io.shaka" %% "naive-http" % "90" % "provided",
"org.scalatest" %% "scalatest" % "3.0.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/scala-embedded-jetty"))
licenses +=("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0.html"))
pomExtra :=
<scm>
<url>git@github.com:timt/scala-embedded-jetty.git</url>
<connection>scm:git:git@github.com:timt/scala-embedded-jetty.git</connection>
</scm>
<developers>
<developer>
<id>timt</id>
</developer>
</developers>