forked from rescala-lang/aws-lambda-baseimage-rdts-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
36 lines (34 loc) · 1.04 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
import Dependencies._
import Settings._
lazy val alam = project.in(file("."))
.enablePlugins(NativeImagePlugin)
.settings(
name := "awslambda",
organization := "de.rmgk",
scalaVersion_213,
strictCompile,
resolvers += "jitpack" at "https://jitpack.io",
resolvers += ("STG old bintray repo" at "http://www.st.informatik.tu-darmstadt.de/maven/").withAllowInsecureProtocol(
true
),
libraryDependencies ++= Seq(
replication.value,
awsLambdaCore.value,
awsLambdaEvents.value,
awsS3.value,
scribe.value
),
nativeImageVersion := "20.3.0",
nativeImageOptions ++= Seq(
"--initialize-at-build-time",
"--no-fallback",
"--no-server",
"-H:EnableURLProtocols=http,https",
"--features=org.graalvm.home.HomeFinderFeature"
// "--static",
),
// javaOptions += "-agentlib:native-image-agent=config-output-dir=src/main/resources/META-INF/native-image",
// fork := true
)
// fix some linting nonsene
Global / excludeLintKeys += nativeImageVersion