-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
61 lines (54 loc) · 1.6 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
import ReleaseTransformations._
name := "akka-xlsx"
lazy val AkkaVersion = "2.5.23"
lazy val AlpakkaXmlVersion = "1.1.0"
lazy val commonSettings = Seq(
updateOptions := updateOptions.value.withGigahorse(false),
scalaVersion := "2.12.8",
crossScalaVersions := Seq("2.12.8", "2.13.0"),
organization := "de.envisia.akka",
scalacOptions in (Compile, doc) ++= Seq(
"-target:jvm-1.8",
"-deprecation",
"-encoding",
"UTF-8",
"-feature",
"-unchecked",
"-deprecation"
),
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-o"),
publishMavenStyle := true,
pomIncludeRepository := (_ => false),
publishTo := Some("envisia" at "https://nexus.envisia.io/repository/public/")
)
lazy val root = (project in file("."))
.settings(commonSettings)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % AkkaVersion,
"com.lightbend.akka" %% "akka-stream-alpakka-xml" % AlpakkaXmlVersion,
"com.typesafe.akka" %% "akka-stream-testkit" % AkkaVersion % Test
)
)
licenses += ("Apache License 2", new URL("http://www.apache.org/licenses/LICENSE-2.0.html"))
developers += Developer(
"schmitch",
"Christian Schmitt",
new URL("https://github.com/schmitch/")
)
releaseCrossBuild := true
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
publishArtifacts,
setNextVersion,
commitNextVersion,
pushChanges
)