forked from akka/akka-persistence-r2dbc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
34 lines (27 loc) · 1.12 KB
/
build.sbt
File metadata and controls
34 lines (27 loc) · 1.12 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
name := "native-image-tests"
version := "1.0"
scalaVersion := "2.13.15"
resolvers += "Akka library repository".at("https://repo.akka.io/maven")
lazy val akkaVersion = sys.props.getOrElse("akka.version", "2.10.0")
lazy val akkaR2dbcVersion = sys.props.getOrElse("akka.r2dbc.version", "1.2.3")
fork := true
// GraalVM native image build
enablePlugins(NativeImagePlugin)
nativeImageJvm := "graalvm-community"
nativeImageVersion := "21.0.2"
nativeImageOptions := Seq(
"--no-fallback",
"--verbose",
"--initialize-at-build-time=ch.qos.logback",
"-Dakka.native-image.debug=true")
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence-query" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"com.typesafe.akka" %% "akka-serialization-jackson" % akkaVersion,
"com.lightbend.akka" %% "akka-persistence-r2dbc" % akkaR2dbcVersion,
"ch.qos.logback" % "logback-classic" % "1.5.18",
// H2
"com.h2database" % "h2" % "2.2.224",
"io.r2dbc" % "r2dbc-h2" % "1.0.0.RELEASE")