-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
62 lines (51 loc) · 1.67 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
59
60
61
62
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._
lazy val root = (project in file(".")).configs(IntegrationTest).settings(Defaults.itSettings: _*)
name := "play-etcd-client"
organization := "de.leanovate"
scalaVersion := "2.11.7"
val playVersion = "2.5.3"
scalacOptions := Seq("-deprecation")
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-ws" % playVersion % "provided",
"org.scalatest" %% "scalatest" % "2.2.4" % "test, it",
"org.mockito" % "mockito-core" % "1.10.19" % "test",
"de.leanovate.play-mockws" %% "play-mockws" % "2.5.0" % "test",
"com.typesafe.play" %% "play-test" % playVersion % "test, it"
)
fork in run := true
publishMavenStyle := true
pomExtra := {
<url>https://github.com/leanovate/play-etcd-client</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
</license>
</licenses>
<scm>
<connection>scm:git:github.com/leanovate/play-etcd-client</connection>
<developerConnection>scm:git:[email protected]:/leanovate/play-etcd-client</developerConnection>
<url>github.com/leanovate/play-etcd-client</url>
</scm>
<developers>
<developer>
<id>untoldwind</id>
<name>Bodo Junglas</name>
<url>http://untoldwind.github.io/</url>
</developer>
</developers>
}
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
ReleaseStep(action = Command.process("publishSigned", _)),
setNextVersion,
commitNextVersion,
ReleaseStep(action = Command.process("sonatypeReleaseAll", _)),
pushChanges
)