forked from StreetContxt/kcl-akka-stream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
48 lines (41 loc) · 1.68 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
configs(IntegrationTest)
Defaults.itSettings
val TestAndIntegrationTest = "test,it"
organization in ThisBuild := "com.streetcontxt"
scalaVersion in ThisBuild := "2.13.3"
scalacOptions ++= Seq("-deprecation", "-feature")
crossScalaVersions in ThisBuild := Seq("2.12.11", "2.13.3")
licenses in ThisBuild += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
bintrayOrganization in ThisBuild := Some("streetcontxt")
resolvers in ThisBuild += Resolver.bintrayRepo("streetcontxt", "maven")
name := "kcl-akka-stream"
val versionPattern = "release-([0-9.]*)".r
version := sys.props
.get("CIRCLE_TAG")
.orElse(sys.env.get("CIRCLE_TAG"))
.flatMap {
case versionPattern(v) => Some(v)
case _ => None
}
.getOrElse("LOCAL-SNAPSHOT")
val AkkaVersion = "2.6.13"
val slf4j = "org.slf4j" % "slf4j-api" % "1.7.30"
val logback = "ch.qos.logback" % "logback-classic" % "1.2.3"
val amazonKinesisClient = "software.amazon.kinesis" % "amazon-kinesis-client" % "2.3.4"
val scalaKinesisProducer = "com.streetcontxt" %% "kpl-scala" % "1.1.0"
val scalaCollectionCompat = "org.scala-lang.modules" %% "scala-collection-compat" % "2.3.2"
val scalaTest = "org.scalatest" %% "scalatest" % "3.2.6"
val scalaMock = "org.scalamock" %% "scalamock" % "5.1.0"
val akkaStream = "com.typesafe.akka" %% "akka-stream" % AkkaVersion
val akkaStreamTestkit = "com.typesafe.akka" %% "akka-stream-testkit" % AkkaVersion
libraryDependencies ++= Seq(
akkaStream,
amazonKinesisClient,
slf4j,
scalaCollectionCompat,
scalaTest % TestAndIntegrationTest,
akkaStreamTestkit % TestAndIntegrationTest,
logback % TestAndIntegrationTest,
scalaMock % Test,
scalaKinesisProducer % IntegrationTest
)