-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (34 loc) · 1.37 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
name := "s3mock"
version := "0.7.0-SNAPSHOT"
scalaVersion in ThisBuild := "2.13.2"
crossScalaVersions in ThisBuild := Seq("2.12.10", "2.13.2")
val pekkoVersion = "1.0.1"
val pekkoHttpVersion = "1.0.0"
libraryDependencies ++= Seq(
"org.apache.pekko" %% "pekko-stream" % pekkoVersion,
"org.apache.pekko" %% "pekko-http" % pekkoHttpVersion,
"org.apache.pekko" %% "pekko-stream-testkit" % pekkoVersion % Test,
"org.scala-lang.modules" %% "scala-xml" % "1.3.1",
"org.scala-lang.modules" %% "scala-collection-compat" % "2.11.0",
"com.github.pathikrit" %% "better-files" % "3.9.2",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5",
"com.amazonaws" % "aws-java-sdk-s3" % "1.12.620",
"org.scalatest" %% "scalatest" % "3.0.8" % "test",
"ch.qos.logback" % "logback-classic" % "1.3.14" % "test",
"org.iq80.leveldb" % "leveldb" % "0.12",
"org.apache.pekko" %% "pekko-connectors-s3" % pekkoVersion % "test"
)
libraryDependencies ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, major)) if major >= 13 =>
Seq("org.scala-lang.modules" %% "scala-parallel-collections" % "0.2.0" % "test")
case _ =>
Seq()
}
}
parallelExecution in Test := false
enablePlugins(JavaAppPackaging)
enablePlugins(DockerPlugin)
dockerRepository := Some("io.github.marko-asplund")
dockerBaseImage := "eclipse-temurin:11-jre"
dockerExposedPorts := Seq(8001)