forked from typesafehub/webdriver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
executable file
·48 lines (42 loc) · 1.48 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
organization := "com.typesafe"
name := "webdriver"
scalaVersion := "2.10.4"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.3.9",
"io.spray" % "spray-client" % "1.3.1",
"io.spray" %% "spray-json" % "1.3.2",
"net.sourceforge.htmlunit" % "htmlunit" % "2.15",
"org.specs2" %% "specs2-core" % "3.4" % "test",
"junit" % "junit" % "4.11" % "test",
"com.typesafe.akka" %% "akka-testkit" % "2.3.9" % "test"
)
// Required by specs2 to get scalaz-stream
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
lazy val root = project in file(".")
lazy val `webdriver-tester` = project.dependsOn(root)
// Publish settings
publishTo := {
if (isSnapshot.value) Some(Opts.resolver.sonatypeSnapshots)
else Some(Opts.resolver.sonatypeStaging)
}
homepage := Some(url("https://github.com/typesafehub/webdriver"))
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
pomExtra := {
<scm>
<url>[email protected]:typesafehub/webdriver.git</url>
<connection>scm:git:[email protected]:typesafehub/webdriver.git</connection>
</scm>
<developers>
<developer>
<id>playframework</id>
<name>Play Framework Team</name>
<url>https://github.com/playframework</url>
</developer>
</developers>
}
pomIncludeRepository := { _ => false }
// Release settings
releaseSettings
ReleaseKeys.crossBuild := true
ReleaseKeys.publishArtifactsAction := PgpKeys.publishSigned.value
ReleaseKeys.tagName := (version in ThisBuild).value