-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.sbt
More file actions
44 lines (36 loc) · 1.54 KB
/
build.sbt
File metadata and controls
44 lines (36 loc) · 1.54 KB
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
import ReleaseTransformations._
import scalariform.formatter.preferences._
name := "akka-stream-mon"
organization := "net.ruippeixotog"
scalaVersion := "2.12.4"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % "2.5.11",
"net.ruippeixotog" %% "akka-testkit-specs2" % "0.2.3" % "test",
"org.specs2" %% "specs2-core" % "4.0.2" % "test")
scalariformPreferences := scalariformPreferences.value
.setPreference(DanglingCloseParenthesis, Prevent)
.setPreference(DoubleIndentConstructorArguments, true)
publishTo := sonatypePublishTo.value
licenses := Seq("MIT License" -> url("http://www.opensource.org/licenses/mit-license.php"))
homepage := Some(url("https://github.com/ruippeixotog/scala-scraper"))
scmInfo := Some(ScmInfo(
url("https://github.com/ruippeixotog/scala-scraper"),
"scm:git:https://github.com/ruippeixotog/scala-scraper.git",
"scm:git:git@github.com:ruippeixotog/scala-scraper.git"))
developers := List(
Developer("ruippeixotog", "Rui Gonçalves", "ruippeixotog@gmail.com", url("http://www.ruippeixotog.net")))
releaseTagComment := s"Release ${(version in ThisBuild).value}"
releaseCommitMessage := s"Set version to ${(version in ThisBuild).value}"
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("publishSigned"),
setNextVersion,
commitNextVersion,
releaseStepCommandAndRemaining("sonatypeReleaseAll"),
pushChanges)