This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
61 lines (55 loc) · 1.84 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
val playVersion = "2.5.8"
lazy val root = (project in file("."))
.settings(
name := "jira-exception-processor",
organization := "net.kaliber",
scalaVersion := "2.11.8",
libraryDependencies ++= Seq(
"com.typesafe" % "config" % "1.3.1" % "provided",
"com.typesafe.play" %% "play-ws" % playVersion % "provided",
"com.typesafe.play" %% "play-test" % playVersion % "test",
"org.specs2" %% "specs2-core" % "3.8.4" % "test",
"net.kaliber" %% "scala-mailer-core" % "6.0.1"
)
)
.settings(bintraySettings: _*)
lazy val bintraySettings = Seq(
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
homepage := Some(url("https://github.com/kaliber-scala/jira-exception-processor")),
bintrayOrganization := Some("kaliber-scala"),
bintrayReleaseOnPublish := false,
publishMavenStyle := true,
pomExtra := (
<scm>
<connection>scm:[email protected]:kaliber-scala/jira-exception-processor.git</connection>
<developerConnection>scm:[email protected]:kaliber-scala/jira-exception-processor.git</developerConnection>
<url>https://github.com/kaliber-scala/jira-exception-processor</url>
</scm>
<developers>
<developer>
<id>Kaliber</id>
<name>Kaliber Interactive</name>
<url>https://kaliber.net/</url>
</developer>
</developers>
)
)
fork in Test := true
javaOptions in Test += "-Dconfig.file=src/test/conf/application.conf"
// Release
import ReleaseTransformations._
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
publishArtifacts,
releaseStepTask(bintrayRelease in root),
setNextVersion,
commitNextVersion,
pushChanges
)