This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
executable file
·66 lines (54 loc) · 1.87 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
63
64
65
66
import sbtrelease.ReleaseStateTransformations._
import sbtrelease._
import xerial.sbt.Sonatype._
name := "akka-stream-message-hub"
organization := "com.ibm"
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
homepage := Some(url("https://github.com/IBM/akka-stream-message-hub"))
sonatypeProjectHosting := Some(GitHubHosting("IBM", "akka-stream-message-hub", "[email protected]"))
scmInfo := Some(
ScmInfo(
url("https://github.com/IBM/akka-stream-message-hub"),
"scm:[email protected]:IBM/akka-stream-message-hub.git"
)
)
developers := List(
Developer(
id = "rafalbigaj",
name = "Rafał Bigaj",
email = "[email protected]",
url = url("https://github.com/rafalbigaj")
)
)
scalaVersion := "2.11.11"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % "2.5.13",
"com.typesafe.akka" %% "akka-stream-kafka" % "0.22",
"com.typesafe.akka" %% "akka-http" % "10.0.11",
"com.typesafe.akka" %% "akka-http-spray-json" % "10.0.11",
"com.typesafe.scala-logging" %% "scala-logging" % "3.8.0",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.scalatest" %% "scalatest" % "3.0.4" % Test
)
test in assembly := {}
pomIncludeRepository := { _ => false }
publishMavenStyle := true
publishArtifact in Test := false
publishTo := sonatypePublishTo.value
// releaseCrossBuild := true // true if you cross-build the project for multiple Scala versions
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
// For non cross-build projects, use releaseStepCommand("publishSigned")
// For cross-build projects, use releaseStepCommandAndRemaining("+publishSigned")
releaseStepCommand("publishSigned"),
setNextVersion,
commitNextVersion,
releaseStepCommand("sonatypeReleaseAll"),
pushChanges
)