-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (27 loc) · 946 Bytes
/
build.gradle
File metadata and controls
34 lines (27 loc) · 946 Bytes
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
plugins {
id 'java-library'
id 'com.formkiq.gradle.graalvm-native-plugin' version '1.7.3'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
annotationProcessor 'com.formkiq:graalvm-annotations-processor:1.0.0'
implementation 'com.formkiq:lambda-runtime-graalvm:2.2.2'
implementation 'com.formkiq:graalvm-annotations:1.0.0'
implementation 'com.amazonaws:aws-lambda-java-core:1.2.0'
implementation 'com.amazonaws:aws-lambda-java-events:3.1.0'
implementation 'com.amazonaws:aws-xray-recorder-sdk-core:2.8.0'
testImplementation 'junit:junit:4.12'
}
nativeImage {
mainClassName = "com.formkiq.lambda.runtime.graalvm.LambdaRuntime"
dockerImage = "ghcr.io/graalvm/graalvm-ce:ol9-java17-22.3.1"
outputFileName = "server"
enableHttp = true
enableHttps = true
enableStatic = true
reflectionConfig = "META-INF/graal/reflect.json"
}
build.dependsOn graalvmNativeImage